@@ -12,14 +12,13 @@ buildscript {
12
12
dependencies {
13
13
classpath ' com.android.tools.build:gradle:7.4.1'
14
14
classpath ' com.mparticle:android-kit-plugin:' + project. version
15
- classpath ' org.jetbrains.kotlin:kotlin-gradle-plugin:2.0 .0'
15
+ classpath ' org.jetbrains.kotlin:kotlin-gradle-plugin:1.9 .0'
16
16
}
17
17
}
18
18
19
19
plugins {
20
20
id " org.sonarqube" version " 3.5.0.2730"
21
21
id " org.jlleitschuh.gradle.ktlint" version " 11.2.0"
22
- id " org.jetbrains.kotlin.plugin.compose" version " 2.0.0"
23
22
}
24
23
25
24
sonarqube {
@@ -35,6 +34,7 @@ apply plugin: "kotlin-android"
35
34
apply plugin : ' com.mparticle.kit'
36
35
37
36
android {
37
+ namespace ' com.mparticle.kits.rokt'
38
38
defaultConfig {
39
39
minSdkVersion 21
40
40
consumerProguardFiles ' consumer-proguard.pro'
@@ -52,6 +52,9 @@ android {
52
52
buildFeatures {
53
53
compose true
54
54
}
55
+ composeOptions {
56
+ kotlinCompilerExtensionVersion = " 1.5.0"
57
+ }
55
58
}
56
59
57
60
repositories {
@@ -60,18 +63,20 @@ repositories {
60
63
}
61
64
62
65
dependencies {
66
+ def composeBom = platform(' androidx.compose:compose-bom:2023.10.01' )
67
+ implementation composeBom
63
68
implementation ' androidx.annotation:annotation:1.5.0'
64
69
implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
65
- implementation ' androidx.compose.runtime:runtime-android:1.8.3 '
70
+ implementation ' androidx.compose.runtime:runtime'
66
71
api ' com.rokt:roktsdk:4.11.0'
67
72
68
73
testImplementation files(' libs/java-json.jar' )
69
74
testImplementation ' com.squareup.assertj:assertj-android:1.2.0'
70
75
testImplementation (" io.mockk:mockk:1.13.4" )
71
76
testImplementation ' org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4'
72
- compileOnly ' androidx.compose.ui:ui:1.0.0 '
73
- compileOnly ' androidx.compose.material:material:1.0.0 '
74
- compileOnly ' androidx.compose.ui:ui-tooling:1.0.0 '
77
+ compileOnly ' androidx.compose.ui:ui'
78
+ compileOnly ' androidx.compose.material:material'
79
+ compileOnly ' androidx.compose.ui:ui-tooling'
75
80
}
76
81
77
82
ktlint {
0 commit comments