This commit is contained in:
Teriuihi 2022-01-04 00:23:47 +01:00
commit c5daa2246b

View File

@ -3,6 +3,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocatio
plugins { plugins {
id("java") id("java")
id("com.github.johnrengelman.shadow") version "7.1.0" id("com.github.johnrengelman.shadow") version "7.1.0"
id("maven-publish")
} }
group = "com.alttd" group = "com.alttd"
@ -17,6 +18,16 @@ java {
} }
} }
publishing {
repositories{
maven {
name = "alttd"
url = uri("https://repo.destro.xyz/snapshots")
credentials(PasswordCredentials::class)
}
}
}
tasks { tasks {
withType<JavaCompile> { withType<JavaCompile> {
options.encoding = Charsets.UTF_8.name() options.encoding = Charsets.UTF_8.name()