Skip to content

Commit f812302

Browse files
committed
Adjust plugin and re-enable publishing
1 parent 4d57be0 commit f812302

18 files changed

Lines changed: 541 additions & 452 deletions

File tree

build-logic/build.gradle.kts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
plugins {
2-
`kotlin-dsl`
3-
java
2+
`kotlin-dsl`
3+
java
44
}
55

66
repositories {
7-
mavenCentral()
7+
mavenCentral()
88
}
99

1010
dependencies {
11-
implementation(gradleApi())
12-
testImplementation("junit:junit:+")
11+
implementation(gradleApi())
12+
13+
testImplementation(libs.junit.vintage.api)
1314
}

build-logic/gradle/libs.versions.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ publish = { id = "io.github.gradle-nexus.publish-plugin", version.ref = "nexusPu
4141
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }
4242

4343
[libraries]
44+
# Intentionally using dynamic version; it is substituted when creating test configurations for each AGP version
45+
agp = "com.android.tools.build:gradle:+"
46+
android-tools = "com.android.tools:common:+"
4447
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxActivity" }
4548
androidx-multidex = { module = "androidx.multidex:multidex", version.ref = "androidxMultidex" }
4649
androidx-test-annotation = { module = "androidx.test:annotation", version.ref = "androidxTestAnnotation" }
@@ -64,11 +67,11 @@ junit-framework-bom6 = { module = "org.junit:junit-bom", version.ref = "junit6"
6467
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api" }
6568
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine" }
6669
junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params" }
67-
junit-platform-commons = { module = "org.junit.platform:junit-platform-commons" }
6870
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher" }
6971
junit-platform-suiteapi = { module = "org.junit.platform:junit-platform-suite-api" }
7072
junit-vintage-api = { module = "junit:junit", version.ref = "junit4" }
7173
junit-vintage-engine = { module = "org.junit.vintage:junit-vintage-engine" }
74+
kgp = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
7275
konftoml = { module = "com.uchuhimo:konf-toml", version.ref = "konftoml" }
7376
korte = { module = "com.soywiz.korlibs.korte:korte", version.ref = "korte" }
7477
kotlin-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinCoroutines" }

build-logic/src/main/kotlin/Dependencies.kt

Lines changed: 0 additions & 93 deletions
This file was deleted.

0 commit comments

Comments
 (0)