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"
4
4
5
5
android {
6
- compileSdkVersion 33
7
- buildToolsVersion ' 32 .0.0'
6
+ compileSdkVersion 34
7
+ buildToolsVersion " 34 .0.0"
8
8
namespace " org.radarcns.detail"
9
9
10
10
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" ]
17
17
multiDexEnabled true
18
18
ndkVersion " 25.2.9519653"
19
19
}
20
20
buildTypes {
21
21
release {
22
22
shrinkResources true
23
23
minifyEnabled true
24
- proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
24
+ proguardFiles getDefaultProguardFile(" proguard-android-optimize.txt" ), " proguard-rules.pro"
25
25
ndk {
26
- debugSymbolLevel = ' full'
26
+ debugSymbolLevel = " full"
27
27
}
28
28
}
29
29
debug {
30
30
shrinkResources false
31
31
minifyEnabled true
32
- proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
32
+ proguardFiles getDefaultProguardFile(" proguard-android.txt" ), " proguard-rules.pro"
33
33
}
34
34
}
35
35
packagingOptions {
36
36
resources {
37
- excludes + = [' META-INF/ASL2.0' , ' META-INF/LICENSE' ]
37
+ excludes + = [" META-INF/ASL2.0" , " META-INF/LICENSE" ]
38
38
}
39
39
}
40
40
compileOptions {
41
- targetCompatibility JavaVersion . VERSION_11
42
- sourceCompatibility JavaVersion . VERSION_11
41
+ targetCompatibility JavaVersion . VERSION_17
42
+ sourceCompatibility JavaVersion . VERSION_17
43
43
}
44
44
buildFeatures {
45
45
viewBinding true
@@ -61,66 +61,70 @@ android {
61
61
}
62
62
63
63
configurations. all {
64
- resolutionStrategy. cacheDynamicVersionsFor 0 , ' seconds'
65
- resolutionStrategy. cacheChangingModulesFor 0 , ' seconds'
64
+ resolutionStrategy. cacheDynamicVersionsFor 0 , " seconds"
65
+ resolutionStrategy. cacheChangingModulesFor 0 , " seconds"
66
66
}
67
67
68
68
repositories {
69
- flatDir { dirs ' libs' }
69
+ flatDir { dirs " libs" }
70
70
google()
71
71
mavenLocal()
72
72
mavenCentral()
73
73
maven { url ' https://oss.sonatype.org/content/repositories/snapshots' }
74
74
maven { url ' https://repo.thehyve.nl/content/repositories/releases' }
75
+ maven { url ' https://jitpack.io' }
75
76
}
76
77
77
- ext. radarCommonsVersion = ' 1.2.4'
78
-
79
78
dependencies {
80
79
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 "
82
81
83
- implementation " org.radarbase:radar-android-login-qr:$r adarCommonsVersion "
82
+ implementation " org.radarbase:radar-android-login-qr:$r adar_commons_android_version "
84
83
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 "
87
86
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version "
88
87
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 "
114
118
}
115
119
116
120
tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile ). all {
117
121
kotlinOptions {
118
- jvmTarget = ' 11 '
119
- apiVersion = ' 1.7'
120
- languageVersion = ' 1.7'
122
+ jvmTarget = " 17 "
123
+ apiVersion = " 1.7"
124
+ languageVersion = " 1.7"
121
125
}
122
126
}
123
127
124
128
// 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