File tree 5 files changed +25
-27
lines changed
5 files changed +25
-27
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ org.gradle.parallel=true
2
2
kotlin.code.style =official
3
3
nextPlannedApiVersion =0.0.2
4
4
isRelease =false
5
- org.jetbrains.dokka.experimental.gradle.pluginMode =V2Enabled
5
+ org.jetbrains.dokka.experimental.gradle.pluginMode =V2Enabled
6
+ org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn =true
Original file line number Diff line number Diff line change @@ -27,22 +27,4 @@ dokka {
27
27
pluginsConfiguration.html {
28
28
footerMessage.set(" (c) WorldMandia" )
29
29
}
30
- }
31
-
32
- publishing {
33
- repositories {
34
- maven {
35
- name = " WorldMandia"
36
- url = if (version.toString()
37
- .endsWith(" SNAPSHOT" )
38
- ) uri(" https://repo.worldmandia.cc/snapshots" ) else uri(" https://repo.worldmandia.cc/releases" )
39
- credentials {
40
- username = getenv(" MAVEN_NAME" )
41
- password = getenv(" MAVEN_SECRET" )
42
- }
43
- authentication {
44
- create<BasicAuthentication >(" basic" )
45
- }
46
- }
47
- }
48
- }
30
+ }
Original file line number Diff line number Diff line change
1
+ import java.lang.System.getenv
2
+
1
3
plugins {
2
4
alias(libs.plugins.kotlinMultiplatform)
3
5
alias(libs.plugins.kotlinSerialization)
@@ -8,9 +10,7 @@ plugins {
8
10
kotlin {
9
11
withSourcesJar()
10
12
jvmToolchain(JavaVersion .VERSION_17 .majorVersion.toInt())
11
- jvm {
12
- withJava()
13
- }
13
+ jvm { }
14
14
js(IR ) {
15
15
nodejs()
16
16
binaries.executable()
@@ -82,4 +82,21 @@ publishing {
82
82
}
83
83
}
84
84
}
85
+ publishing {
86
+ repositories {
87
+ maven {
88
+ name = " WorldMandia"
89
+ url = if (version.toString()
90
+ .endsWith(" SNAPSHOT" )
91
+ ) uri(" https://repo.worldmandia.cc/snapshots" ) else uri(" https://repo.worldmandia.cc/releases" )
92
+ credentials {
93
+ username = getenv(" MAVEN_NAME" )
94
+ password = getenv(" MAVEN_SECRET" )
95
+ }
96
+ authentication {
97
+ create<BasicAuthentication >(" basic" )
98
+ }
99
+ }
100
+ }
101
+ }
85
102
}
Original file line number Diff line number Diff line change @@ -8,9 +8,7 @@ plugins {
8
8
kotlin {
9
9
withSourcesJar()
10
10
jvmToolchain(JavaVersion .VERSION_17 .majorVersion.toInt())
11
- jvm {
12
- withJava()
13
- }
11
+ jvm {}
14
12
15
13
sourceSets {
16
14
commonMain {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ pluginManagement {
7
7
}
8
8
9
9
plugins {
10
- id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 0.8 .0"
10
+ id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 0.9 .0"
11
11
}
12
12
13
13
dependencyResolutionManagement {
You can’t perform that action at this time.
0 commit comments