Initial commit
This commit is contained in:
34
build.gradle.kts
Normal file
34
build.gradle.kts
Normal file
@@ -0,0 +1,34 @@
|
||||
plugins {
|
||||
kotlin("jvm") version "2.1.20"
|
||||
id("maven-publish")
|
||||
}
|
||||
|
||||
val pluginVersion: String by extra
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://repo.maven.rtast.cn/releases/")
|
||||
}
|
||||
}
|
||||
|
||||
subprojects {
|
||||
group = "cn.rtast.runbroker"
|
||||
version = pluginVersion
|
||||
|
||||
apply(plugin = "org.jetbrains.kotlin.jvm")
|
||||
apply(plugin = "maven-publish")
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
// mavenLocal()
|
||||
maven("http://192.168.10.222:9098/releases") {
|
||||
isAllowInsecureProtocol = true
|
||||
credentials {
|
||||
username = "RTAkland"
|
||||
password = System.getenv("PUBLISH_TOKEN")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user