Add deploying to repo

This commit is contained in:
destro174 2022-01-04 00:07:24 +01:00
parent 5aaf377230
commit e2b827a668

View File

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