Skip to content

Commit 42a0aea

Browse files
committed
Removed build convention module
1 parent 5bbf460 commit 42a0aea

6 files changed

Lines changed: 32 additions & 13 deletions

File tree

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
plugins {
2+
kotlin("jvm") apply false
3+
}
4+
15
allprojects {
26
group = "com.ikcode.serialization"
37
version = "0.1"

core/build.gradle.kts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
plugins {
2-
// Apply the shared build logic from a convention plugin.
3-
// The shared code is located in `buildSrc/src/main/kotlin/kotlin-jvm.gradle.kts`.
4-
id("buildsrc.convention.kotlin-jvm")
2+
kotlin("jvm")
53
`maven-publish`
64
}
75

6+
kotlin {
7+
jvmToolchain(8)
8+
}
9+
810
publishing {
911
publications {
1012
create<MavenPublication>("maven") {

processor/build.gradle.kts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
plugins {
2-
// Apply the shared build logic from a convention plugin.
3-
// The shared code is located in `buildSrc/src/main/kotlin/kotlin-jvm.gradle.kts`.
4-
id("buildsrc.convention.kotlin-jvm")
2+
kotlin("jvm")
53
alias(libs.plugins.ksp)
64
`maven-publish`
75
}
86

7+
kotlin {
8+
jvmToolchain(8)
9+
}
10+
911
dependencies {
1012
implementation(project(":core"))
1113
implementation(libs.ksp)

settings.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ dependencyResolutionManagement {
1616
}
1717
}
1818

19-
plugins {
20-
// Use the Foojay Toolchains plugin to automatically download JDKs required by subprojects.
21-
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
22-
}
23-
2419
rootProject.name = "IkSerialization"
2520

2621
include(":processor")

tests/build.gradle.kts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
plugins {
2-
id("buildsrc.convention.kotlin-jvm")
2+
kotlin("jvm")
33
alias(libs.plugins.ksp)
44
}
55

6+
kotlin {
7+
jvmToolchain(8)
8+
}
9+
10+
tasks.withType<Test>().configureEach {
11+
useJUnitPlatform()
12+
}
13+
614
dependencies {
715
implementation(project(":core"))
816
ksp(project(":processor"))

tests2/build.gradle.kts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
plugins {
2-
id("buildsrc.convention.kotlin-jvm")
2+
kotlin("jvm")
33
alias(libs.plugins.ksp)
44
}
55

6+
kotlin {
7+
jvmToolchain(8)
8+
}
9+
10+
tasks.withType<Test>().configureEach {
11+
useJUnitPlatform()
12+
}
13+
614
dependencies {
715
implementation(project(":core"))
816
implementation(project(":tests"))

0 commit comments

Comments
 (0)