progress on boosters

This commit is contained in:
destro174
2021-11-04 17:57:55 +01:00
parent b6cefd5403
commit 95d219d546
13 changed files with 677 additions and 24 deletions
+21
View File
@@ -1,5 +1,6 @@
plugins {
`java-library`
`maven-publish`
id("com.github.johnrengelman.shadow") version "7.0.0"
}
@@ -12,6 +13,7 @@ allprojects {
subprojects {
apply<JavaLibraryPlugin>()
apply(plugin = "maven-publish")
java {
toolchain {
@@ -28,6 +30,25 @@ subprojects {
options.encoding = Charsets.UTF_8.name()
}
}
publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
}
}
configure<PublishingExtension> {
repositories {
maven {
name = "nexus"
url = uri("http://$name:8081/snapshots")
isAllowInsecureProtocol = true
credentials(PasswordCredentials::class)
}
}
}
}
}
dependencies {