Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions buildSrc/src/main/java/Config.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
object Config {
val kotlinVersion = "1.4.0"
val kotlinVersion = "1.4.10"
val kotlinStdLib = "stdlib-jdk8"

object BuildPlugins {
Expand All @@ -10,9 +10,8 @@ object Config {
}

object Android {
private val sdkVersion = 29
private val sdkVersion = 30

val buildToolsVersion = "29.0.3"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're using Android plugin for Gradle 3.0.0 or higher, your project automatically uses a default version of the build tools that the plugin specifies

https://developer.android.com/studio/releases/build-tools

val minSdkVersion = 14
val minSdkVersionNdk = 16
val targetSdkVersion = sdkVersion
Expand Down
1 change: 0 additions & 1 deletion sentry-android-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ plugins {

android {
compileSdkVersion(Config.Android.compileSdkVersion)
buildToolsVersion(Config.Android.buildToolsVersion)

defaultConfig {
targetSdkVersion(Config.Android.targetSdkVersion)
Expand Down
1 change: 0 additions & 1 deletion sentry-android-ndk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ plugins {

android {
compileSdkVersion(Config.Android.compileSdkVersion)
buildToolsVersion(Config.Android.buildToolsVersion)

val sentryNativeSrc = if (File("${project.projectDir}/sentry-native-local").exists()) {
"sentry-native-local"
Expand Down
1 change: 0 additions & 1 deletion sentry-android-timber/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ plugins {

android {
compileSdkVersion(Config.Android.compileSdkVersion)
buildToolsVersion(Config.Android.buildToolsVersion)

defaultConfig {
targetSdkVersion(Config.Android.targetSdkVersion)
Expand Down
1 change: 0 additions & 1 deletion sentry-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ plugins {

android {
compileSdkVersion(Config.Android.compileSdkVersion)
buildToolsVersion(Config.Android.buildToolsVersion)

defaultConfig {
targetSdkVersion(Config.Android.targetSdkVersion)
Expand Down
1 change: 0 additions & 1 deletion sentry-samples/sentry-samples-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ plugins {

android {
compileSdkVersion(Config.Android.compileSdkVersion)
buildToolsVersion(Config.Android.buildToolsVersion)

defaultConfig {
applicationId = "io.sentry.samples.android"
Expand Down