Add deploying to repo
This commit is contained in:
parent
5aaf377230
commit
e2b827a668
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user