Skip to content

Commit

Permalink
Update project config
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski committed Oct 31, 2024
1 parent 5de5f16 commit aaca77f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
3 changes: 0 additions & 3 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
13 changes: 1 addition & 12 deletions sample/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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" }
Expand All @@ -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" }
Expand Down
4 changes: 0 additions & 4 deletions sample/ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ licenseeForAndroid {
android {
namespace "io.githhub.usefulness.licensee.android.ui"

compileSdk = 34
defaultConfig {
minSdk = 26
}
buildFeatures {
compose = true
}
Expand Down

0 comments on commit aaca77f

Please sign in to comment.