@@ -12,14 +12,13 @@ buildscript {
1212 dependencies {
1313 classpath ' com.android.tools.build:gradle:7.4.1'
1414 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'
1616 }
1717}
1818
1919plugins {
2020 id " org.sonarqube" version " 3.5.0.2730"
2121 id " org.jlleitschuh.gradle.ktlint" version " 11.2.0"
22- id " org.jetbrains.kotlin.plugin.compose" version " 2.0.0"
2322}
2423
2524sonarqube {
@@ -35,6 +34,7 @@ apply plugin: "kotlin-android"
3534apply plugin : ' com.mparticle.kit'
3635
3736android {
37+ namespace ' com.mparticle.kits.rokt'
3838 defaultConfig {
3939 minSdkVersion 21
4040 consumerProguardFiles ' consumer-proguard.pro'
@@ -52,6 +52,9 @@ android {
5252 buildFeatures {
5353 compose true
5454 }
55+ composeOptions {
56+ kotlinCompilerExtensionVersion = " 1.5.0"
57+ }
5558}
5659
5760repositories {
@@ -60,18 +63,20 @@ repositories {
6063}
6164
6265dependencies {
66+ def composeBom = platform(' androidx.compose:compose-bom:2023.10.01' )
67+ implementation composeBom
6368 implementation ' androidx.annotation:annotation:1.5.0'
6469 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'
6671 api ' com.rokt:roktsdk:4.11.0'
6772
6873 testImplementation files(' libs/java-json.jar' )
6974 testImplementation ' com.squareup.assertj:assertj-android:1.2.0'
7075 testImplementation (" io.mockk:mockk:1.13.4" )
7176 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'
7580}
7681
7782ktlint {
0 commit comments