diff --git a/sample/build.gradle b/sample/build.gradle index 4175339..2ecfeb8 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -16,9 +16,6 @@ subprojects { detekt { baseline = file("config/baseline.xml") } - tasks.named("detektBaseline") { - jvmTarget = "20" - } } pluginManager.withPlugin("io.github.usefulness.ktlint-gradle-plugin") { ktlint { diff --git a/sample/gradle/libs.versions.toml b/sample/gradle/libs.versions.toml index 1289a96..38226e2 100644 --- a/sample/gradle/libs.versions.toml +++ b/sample/gradle/libs.versions.toml @@ -10,9 +10,7 @@ androidx-compose-compiler = "1.5.15" androidx-core = "1.15.0" androidx-test-ext-junit = "1.2.1" com-squareup-moshi = "1.15.1" -compose-bom = "2024.10.00" -core-ktx = "1.13.1" -espresso-core = "3.5.1" +compose-bom = "2024.10.01" lifecycle-runtime-ktx = "2.8.7" maven-ktlint = "1.4.0" @@ -29,13 +27,8 @@ kotlinx-serialization-json-okio = { module = "org.jetbrains.kotlinx:kotlinx-seri com-squareup-okio = "com.squareup.okio:okio:3.9.1" activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activity-compose" } -org-jetbrains-kotlin-kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "maven-kotlin" } -androidx-lifecycle-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycle-runtime-ktx" } -androidx-test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-test-ext-junit" } androidx-test-core = "androidx.test:core-ktx:1.6.1" org-robolectric-core = "org.robolectric:robolectric:4.13" -com-squareup-moshi = { module = "com.squareup.moshi:moshi", version.ref = "com-squareup-moshi" } -com-squareup-moshi-moshi-kotlin-codegen = { module = "com.squareup.moshi:moshi-kotlin-codegen", version.ref = "com-squareup-moshi" } androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" } androidx-compose-animation = { module = "androidx.compose.animation:animation" } androidx-compose-foundation = { module = "androidx.compose.foundation:foundation" } @@ -48,16 +41,12 @@ androidx-compose-ui-ui-tooling = { module = "androidx.compose.ui:ui-tooling" } androidx-compose-runtime-runtime-livedata = { module = "androidx.compose.runtime:runtime-livedata" } androidx-compose-ui-ui-text = { module = "androidx.compose.ui:ui-text" } androidx-core-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx-core" } -org-jetbrains-kotlinx-kotlinx-coroutines-test = "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.9.0" lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle-runtime-ktx" } material3 = { module = "androidx.compose.material3:material3" } ui = { module = "androidx.compose.ui:ui" } ui-graphics = { module = "androidx.compose.ui:ui-graphics" } -ui-tooling = { module = "androidx.compose.ui:ui-tooling" } ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" } io-nlopez-compose = "io.nlopez.compose.rules:ktlint:0.4.17" -android-composeCompiler = {module="androidx.compose.compiler:compiler", version.ref ="androidx-compose-compiler"} -ktlint-cli = { module = "com.pinterest.ktlint:ktlint-cli", version.ref = "maven-ktlint" } [plugins] kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "maven-kotlin" } diff --git a/sample/ui/build.gradle b/sample/ui/build.gradle index 29e0a00..ec85e70 100644 --- a/sample/ui/build.gradle +++ b/sample/ui/build.gradle @@ -19,10 +19,6 @@ licenseeForAndroid { android { namespace "io.githhub.usefulness.licensee.android.ui" - compileSdk = 34 - defaultConfig { - minSdk = 26 - } buildFeatures { compose = true }