Apply maven publish plugin
This commit is contained in:
2 files changed
+22
-2
No files matched your search
+19
-1
@@ -1,13 +1,31 @@
|
|||||||
plugins {
|
plugins {
|
||||||
kotlin("multiplatform") version "2.4.10" apply false
|
kotlin("multiplatform") version "2.4.10" apply false
|
||||||
kotlin("plugin.serialization") version "2.4.10" apply false
|
kotlin("plugin.serialization") version "2.4.10" apply false
|
||||||
|
id("maven-publish")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
val libVersion = providers.gradleProperty("libVersion").get()
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group = "cn.rtast.bldm"
|
group = "cn.rtast.bldm"
|
||||||
version = "1.0-SNAPSHOT"
|
version = libVersion
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
subprojects {
|
||||||
|
pluginManager.apply("maven-publish")
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
repositories {
|
||||||
|
maven("https://repo.maven.rtast.cn/snapshots") {
|
||||||
|
credentials {
|
||||||
|
username = "RTAkland"
|
||||||
|
password = System.getenv("PUBLISH_TOKEN")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
+3
-1
@@ -1,3 +1,5 @@
|
|||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=1024m -XX:+HeapDumpOnOutOfMemoryError
|
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=1024m -XX:+HeapDumpOnOutOfMemoryError
|
||||||
kotlin.native.ignoreDisabledTargets=true
|
kotlin.native.ignoreDisabledTargets=true
|
||||||
|
|
||||||
|
libVersion=0.1-snapshots
|
||||||
Reference in New Issue
Block a user