1
0
Fork 0
mirror of https://github.com/xHyroM/lighteco.git synced 2024-12-18 02:21:09 +01:00

ci: add publishing to repo.jopga.me

This commit is contained in:
Jozef Steinhübl 2023-09-28 17:01:16 +02:00
parent 13c8e75402
commit 1d808680d1
No known key found for this signature in database
GPG key ID: E944BC293F5FF7E7

View file

@ -23,4 +23,28 @@ tasks {
compileJava { compileJava {
options.encoding = Charsets.UTF_8.name() options.encoding = Charsets.UTF_8.name()
} }
}
publishing {
// Publishing to repo.jopga.me
publications.create<MavenPublication>("mavenJava") {
repositories.maven {
url = uri("https://repo.jopga.me/releases")
credentials(PasswordCredentials::class)
authentication {
create<BasicAuthentication>("basic")
}
}
groupId = rootProject.group as String
artifactId = project.name
version = rootProject.version as String
pom {
name.set("LightEco")
}
artifact(tasks.named("jar"))
}
} }