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:
parent
13c8e75402
commit
1d808680d1
1 changed files with 24 additions and 0 deletions
|
@ -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"))
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue