1- apply plugin : ' com.android.application'
2- apply plugin : ' com.google.android.gms.oss-licenses-plugin'
3- apply plugin : ' kotlin-android'
1+ apply plugin : " com.android.application"
2+ apply plugin : " com.google.android.gms.oss-licenses-plugin"
3+ apply plugin : " kotlin-android"
44
55android {
6- compileSdkVersion 33
7- buildToolsVersion ' 32 .0.0'
6+ compileSdkVersion 34
7+ buildToolsVersion " 34 .0.0"
88 namespace " org.radarcns.detail"
99
1010 defaultConfig {
11- applicationId ' org.radarcns.detail'
12- minSdkVersion 24
13- targetSdkVersion 33
14- versionCode 62
15- versionName ' 1.2.0 '
16- manifestPlaceholders = [' appAuthRedirectScheme' : ' org.radarbase.passive.app' ]
11+ applicationId " org.radarcns.detail"
12+ minSdkVersion 26
13+ targetSdkVersion 34
14+ versionCode 69
15+ versionName " 1.2.7 "
16+ manifestPlaceholders = [" appAuthRedirectScheme" : " org.radarbase.passive.app" ]
1717 multiDexEnabled true
1818 ndkVersion " 25.2.9519653"
1919 }
2020 buildTypes {
2121 release {
2222 shrinkResources true
2323 minifyEnabled true
24- proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
24+ proguardFiles getDefaultProguardFile(" proguard-android-optimize.txt" ), " proguard-rules.pro"
2525 ndk {
26- debugSymbolLevel = ' full'
26+ debugSymbolLevel = " full"
2727 }
2828 }
2929 debug {
3030 shrinkResources false
3131 minifyEnabled true
32- proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
32+ proguardFiles getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro"
3333 }
3434 }
3535 packagingOptions {
3636 resources {
37- excludes + = [' META-INF/ASL2.0' , ' META-INF/LICENSE' ]
37+ excludes + = [" META-INF/ASL2.0" , " META-INF/LICENSE" ]
3838 }
3939 }
4040 compileOptions {
41- targetCompatibility JavaVersion . VERSION_11
42- sourceCompatibility JavaVersion . VERSION_11
41+ targetCompatibility JavaVersion . VERSION_17
42+ sourceCompatibility JavaVersion . VERSION_17
4343 }
4444 buildFeatures {
4545 viewBinding true
@@ -61,66 +61,70 @@ android {
6161}
6262
6363configurations. all {
64- resolutionStrategy. cacheDynamicVersionsFor 0 , ' seconds'
65- resolutionStrategy. cacheChangingModulesFor 0 , ' seconds'
64+ resolutionStrategy. cacheDynamicVersionsFor 0 , " seconds"
65+ resolutionStrategy. cacheChangingModulesFor 0 , " seconds"
6666}
6767
6868repositories {
69- flatDir { dirs ' libs' }
69+ flatDir { dirs " libs" }
7070 google()
7171 mavenLocal()
7272 mavenCentral()
7373 maven { url ' https://oss.sonatype.org/content/repositories/snapshots' }
7474 maven { url ' https://repo.thehyve.nl/content/repositories/releases' }
75+ maven { url ' https://jitpack.io' }
7576}
7677
77- ext. radarCommonsVersion = ' 1.2.4'
78-
7978dependencies {
8079 api " org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version "
81- api " org.radarbase:radar-commons-android:$r adarCommonsVersion "
80+ api " org.radarbase:radar-commons-android:$r adar_commons_android_version "
8281
83- implementation " org.radarbase:radar-android-login-qr:$r adarCommonsVersion "
82+ implementation " org.radarbase:radar-android-login-qr:$r adar_commons_android_version "
8483
85- implementation platform(' com.google.firebase:firebase-bom:31.2.2 ' )
86- implementation ' com.google.android.gms:play-services-oss-licenses:17.0.0 '
84+ implementation platform(" com.google.firebase:firebase-bom:$f irebase_bom_version " )
85+ implementation " com.google.android.gms:play-services-oss-licenses:$p lay_services_oss_licenses_version "
8786 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version "
8887
89- implementation ' org.slf4j:slf4j-api:2.0.6'
90-
91- implementation ' com.google.firebase:firebase-config'
92- implementation ' com.google.firebase:firebase-crashlytics'
93- implementation ' com.google.firebase:firebase-analytics'
94-
95- implementation ' com.gitlab.mvysny.slf4j:slf4j-handroid:2.0.4'
96-
97- implementation " org.radarbase:radar-android-phone:$radarCommonsVersion "
98- implementation " org.radarbase:radar-android-phone-usage:$radarCommonsVersion "
99- selfReleaseImplementation " org.radarbase:radar-android-phone-telephony:$radarCommonsVersion "
100- implementation " org.radarbase:radar-android-empatica:$radarCommonsVersion "
101- implementation " org.radarbase:radar-android-application-status:$radarCommonsVersion "
102- implementation " org.radarbase:radar-android-weather:$radarCommonsVersion "
103- implementation " org.radarbase:radar-android-audio:$radarCommonsVersion "
104- implementation " org.radarbase:radar-android-faros:$radarCommonsVersion "
105-
106- implementation ' androidx.lifecycle:lifecycle-process:2.5.1'
107- implementation ' androidx.legacy:legacy-support-v4:1.0.0'
108- implementation ' com.google.android.material:material:1.8.0'
109- implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
110- implementation ' androidx.fragment:fragment-ktx:1.5.7'
111-
112- testImplementation ' junit:junit:4.13.2'
113- testRuntimeOnly ' org.slf4j:slf4j-simple:2.0.6'
88+ implementation " org.slf4j:slf4j-api:$slf4j_api_version "
89+
90+ implementation " com.google.firebase:firebase-config"
91+ implementation " com.google.firebase:firebase-crashlytics"
92+ implementation " com.google.firebase:firebase-analytics"
93+
94+ implementation " com.gitlab.mvysny.slf4j:slf4j-handroid:$slf4j_handroid_version "
95+
96+ implementation " org.radarbase:radar-android-phone:$radar_commons_android_version "
97+ implementation " org.radarbase:radar-android-phone-usage:$radar_commons_android_version "
98+ selfReleaseImplementation " org.radarbase:radar-android-phone-telephony:$radar_commons_android_version "
99+ implementation " org.radarbase:radar-android-empatica:$radar_commons_android_version "
100+ implementation " org.radarbase:radar-android-application-status:$radar_commons_android_version "
101+ implementation " org.radarbase:radar-android-weather:$radar_commons_android_version "
102+ implementation " org.radarbase:radar-android-audio:$radar_commons_android_version "
103+ implementation " org.radarbase:radar-android-faros:$radar_commons_android_version "
104+ // implementation "org.radarbase:radar-android-polar:$radar_commons_android_version"
105+ implementation " org.radarbase:radar-android-google-sleep:$radar_commons_android_version "
106+ implementation " org.radarbase:radar-android-google-activity:$radar_commons_android_version "
107+ implementation " org.radarbase:radar-android-google-places:$radar_commons_android_version "
108+ implementation " org.radarbase:radar-android-phone-audio-input:$radar_commons_android_version "
109+
110+ implementation " androidx.lifecycle:lifecycle-process:$lifecycle_process_version "
111+ implementation " androidx.legacy:legacy-support-v4:$legacy_support_version "
112+ implementation " com.google.android.material:material:$material_version "
113+ implementation " androidx.constraintlayout:constraintlayout:$constraintlayout_version "
114+ implementation " androidx.fragment:fragment-ktx:$fragment_version "
115+
116+ testImplementation " junit:junit:$junit_version "
117+ testRuntimeOnly " org.slf4j:slf4j-simple:$slf4j_simple_version "
114118}
115119
116120tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile ). all {
117121 kotlinOptions {
118- jvmTarget = ' 11 '
119- apiVersion = ' 1.7'
120- languageVersion = ' 1.7'
122+ jvmTarget = " 17 "
123+ apiVersion = " 1.7"
124+ languageVersion = " 1.7"
121125 }
122126}
123127
124128// Needed for Firebase. Put at the bottom so it can detect the Firebase version.
125- apply plugin : ' com.google.gms.google-services'
126- apply plugin : ' com.google.firebase.crashlytics'
129+ apply plugin : " com.google.gms.google-services"
130+ apply plugin : " com.google.firebase.crashlytics"
0 commit comments