File tree Expand file tree Collapse file tree 7 files changed +32
-19
lines changed Expand file tree Collapse file tree 7 files changed +32
-19
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ plugins {
88 id ' com.android.application'
99 id ' kotlin-android'
1010 // Provides auto-uploading of proguard mappings to Sentry
11- id ' io.sentry.android.gradle' version ' 3.11.0 '
11+ id ' io.sentry.android.gradle' version ' 4.5.1 '
1212}
1313
1414/**
@@ -24,8 +24,8 @@ configurations.configureEach {
2424android {
2525 compileSdkVersion versions. compileSdk
2626
27- kotlinOptions {
28- jvmTarget = " 1.8 "
27+ kotlin {
28+ jvmToolchain( 17 )
2929 }
3030
3131 buildFeatures {
@@ -58,8 +58,8 @@ android {
5858dependencies {
5959 implementation project(' :steamclog' )
6060 // Since Sentry is a dependency of steamclog, we do not have to import it again
61- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.2 '
62- implementation ' androidx.appcompat:appcompat:1.4.1 '
63- implementation ' androidx.constraintlayout:constraintlayout:2.1.4 '
64- implementation ' com.google.android.material:material:1.6.1 '
61+ implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0 '
62+ implementation ' androidx.appcompat:appcompat:1.7.0 '
63+ implementation ' androidx.constraintlayout:constraintlayout:2.2.0 '
64+ implementation ' com.google.android.material:material:1.12.0 '
6565}
Original file line number Diff line number Diff line change 1818
1919# If you keep the line number information, uncomment this to
2020# hide the original source file name.
21- #-renamesourcefileattribute SourceFile
21+ #-renamesourcefileattribute SourceFile
22+ -dontwarn javax.lang.model.element.Modifier
Original file line number Diff line number Diff line change 1- <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
1+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2+ xmlns : tools =" http://schemas.android.com/tools" >
23
34 <application
45 android : name =" .App"
2223
2324 <meta-data android : name =" io.sentry.dsn" android : value =" https://59bb07e12aa7421b8f5fd9ae3420c21c@o386150.ingest.sentry.io/5399932" />
2425
26+ <!-- For some reason io.sentry.auto-init is set to false; this means that Sentry will not capture logs unless we manually init -->
27+ <meta-data android : name =" io.sentry.auto-init" android : value =" true" tools : replace =" android:value" />
28+
29+
2530 </application >
2631
2732</manifest >
Original file line number Diff line number Diff line change 22buildscript {
33
44 ext. versions = [
5- " compileSdk" : 33 ,
6- " kotlin" : " 1.8.10 " ,
5+ " compileSdk" : 34 ,
6+ " kotlin" : " 2.0.0 " ,
77 " timber" : " 5.0.1" ,
88 " sentry" : " 6.23.0"
99 ]
@@ -14,7 +14,7 @@ buildscript {
1414 }
1515
1616 dependencies {
17- classpath ' com.android.tools.build:gradle:7.4 .2'
17+ classpath ' com.android.tools.build:gradle:8.5 .2'
1818 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:${ versions.kotlin} "
1919 // NOTE: Do not place your application dependencies here; they belong
2020 // in the individual module build.gradle files
Original file line number Diff line number Diff line change @@ -18,4 +18,8 @@ android.useAndroidX=true
1818# Automatically convert third-party libraries to use AndroidX
1919android.enableJetifier =true
2020# Kotlin code style for this project: "official" or "obsolete":
21- kotlin.code.style =official
21+ kotlin.code.style =official
22+ android.enableR8.fullMode =false
23+ android.defaults.buildfeatures.buildconfig =true
24+ android.nonTransitiveRClass =false
25+ android.nonFinalResIds =false
Original file line number Diff line number Diff line change 11# Tue Aug 01 09:31:10 PDT 2023
22distributionBase =GRADLE_USER_HOME
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.6 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.7 -bin.zip
44distributionPath =wrapper/dists
55zipStorePath =wrapper/dists
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ afterEvaluate {
1818 // You can then customize attributes of the publication as shown below.
1919 groupId = ' com.steamclock.steamclog'
2020 artifactId = ' release'
21- version = ' v2.4 '
21+ version = ' v2.5 '
2222 }
2323 }
2424 }
@@ -27,18 +27,21 @@ afterEvaluate {
2727android {
2828 compileSdkVersion versions. compileSdk
2929
30+ publishing {
31+ // Publish your app as an AAB
32+ singleVariant(" release" )
33+ }
34+
3035 // ADD COMPATIBILITY OPTIONS TO BE COMPATIBLE WITH JAVA 1.8
3136 // Added for Sentry support
3237 compileOptions {
33- sourceCompatibility = JavaVersion . VERSION_1_8
34- targetCompatibility = JavaVersion . VERSION_1_8
38+ sourceCompatibility = JavaVersion . VERSION_17
39+ targetCompatibility = JavaVersion . VERSION_17
3540 }
3641
3742 defaultConfig {
3843 minSdkVersion 21
3944 targetSdkVersion versions. compileSdk
40- versionCode 4
41- versionName " 2.4"
4245 consumerProguardFiles " consumer-rules.pro"
4346 }
4447
You can’t perform that action at this time.
0 commit comments