File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ plugins {
2+ kotlin(" jvm" ) apply false
3+ }
4+
15allprojects {
26 group = " com.ikcode.serialization"
37 version = " 0.1"
Original file line number Diff line number Diff line change 11plugins {
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+
810publishing {
911 publications {
1012 create<MavenPublication >(" maven" ) {
Original file line number Diff line number Diff line change 11plugins {
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+
911dependencies {
1012 implementation(project(" :core" ))
1113 implementation(libs.ksp)
Original file line number Diff line number Diff 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-
2419rootProject.name = " IkSerialization"
2520
2621include(" :processor" )
Original file line number Diff line number Diff line change 11plugins {
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+
614dependencies {
715 implementation(project(" :core" ))
816 ksp(project(" :processor" ))
Original file line number Diff line number Diff line change 11plugins {
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+
614dependencies {
715 implementation(project(" :core" ))
816 implementation(project(" :tests" ))
You can’t perform that action at this time.
0 commit comments