Skip to content

Commit 8e2a12f

Browse files
committed
Fix repo
1 parent 92fa4a1 commit 8e2a12f

File tree

5 files changed

+25
-27
lines changed

5 files changed

+25
-27
lines changed

gradle.properties

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ org.gradle.parallel=true
22
kotlin.code.style=official
33
nextPlannedApiVersion=0.0.2
44
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

kpaypal-api/build.gradle.kts

+1-19
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,4 @@ dokka {
2727
pluginsConfiguration.html {
2828
footerMessage.set("(c) WorldMandia")
2929
}
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+
}

kpaypal-api/kpaypal-core/build.gradle.kts

+20-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import java.lang.System.getenv
2+
13
plugins {
24
alias(libs.plugins.kotlinMultiplatform)
35
alias(libs.plugins.kotlinSerialization)
@@ -8,9 +10,7 @@ plugins {
810
kotlin {
911
withSourcesJar()
1012
jvmToolchain(JavaVersion.VERSION_17.majorVersion.toInt())
11-
jvm {
12-
withJava()
13-
}
13+
jvm { }
1414
js(IR) {
1515
nodejs()
1616
binaries.executable()
@@ -82,4 +82,21 @@ publishing {
8282
}
8383
}
8484
}
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+
}
85102
}

kpaypal-api/kpaypal-webhook/build.gradle.kts

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ plugins {
88
kotlin {
99
withSourcesJar()
1010
jvmToolchain(JavaVersion.VERSION_17.majorVersion.toInt())
11-
jvm {
12-
withJava()
13-
}
11+
jvm {}
1412

1513
sourceSets {
1614
commonMain {

settings.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pluginManagement {
77
}
88

99
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"
1111
}
1212

1313
dependencyResolutionManagement {

0 commit comments

Comments
 (0)