1
0
Fork 0
mirror of https://github.com/xHyroM/lighteco.git synced 2024-11-10 01:18:07 +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

@ -24,3 +24,27 @@ tasks {
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"))
}
}