Skip to content

Commit

Permalink
Merge pull request #11 from LinX64/refactor/version-catalog-and-agp-s…
Browse files Browse the repository at this point in the history
…table

Using stable AGP
  • Loading branch information
LinX64 authored Apr 4, 2024
2 parents b804e6b + 0b852ae commit 0649c4f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
1 change: 0 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ dependencies {

detektPlugins(libs.detekt.formatting)

testImplementation(libs.junit)
debugImplementation(libs.androidx.ui.test.manifest)
debugImplementation(libs.androidx.ui.tooling)
}
5 changes: 1 addition & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[versions]
agp = "8.4.0-beta02"
agp = "8.3.1"
kotlin = "1.9.23"
coreKtx = "1.12.0"
junit = "4.13.2"
lifecycleRuntimeKtx = "2.7.0"
activityCompose = "1.8.2"
composeBom = "2024.04.00"
Expand All @@ -12,7 +11,6 @@ mavenPublish = "0.28.0"

[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
junit = { group = "junit", name = "junit", version.ref = "junit" }
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
Expand All @@ -23,7 +21,6 @@ androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-toolin
androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
androidx-compose-material-iconsExtended = { group = "androidx.compose.material", name = "material-icons-extended" }
androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "material-3" }

detekt-formatting = { group = "io.gitlab.arturbosch.detekt", name = "detekt-formatting", version.ref = "detekt" }

[plugins]
Expand Down
14 changes: 0 additions & 14 deletions reusablecomponents/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin.android)
alias(libs.plugins.detekt)
id(libs.plugins.mavenPublish.get().pluginId)
}

Expand All @@ -13,9 +12,6 @@ android {

defaultConfig {
minSdk = 24

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}

buildTypes {
Expand Down Expand Up @@ -51,13 +47,6 @@ android {
composeOptions {
kotlinCompilerExtensionVersion = "1.5.11"
}

detekt {
config.setFrom(file("$rootDir/app/config/detekt/config.yml"))
parallel = true
buildUponDefaultConfig = true
autoCorrect = true
}
}

dependencies {
Expand All @@ -71,9 +60,6 @@ dependencies {
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.material.iconsExtended)

detektPlugins(libs.detekt.formatting)

testImplementation(libs.junit)
debugImplementation(libs.androidx.ui.test.manifest)
debugImplementation(libs.androidx.ui.tooling)
}
Expand Down

0 comments on commit 0649c4f

Please sign in to comment.