mirror of
https://github.com/xHyroM/lighteco.git
synced 2024-11-12 18:38: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
|
@ -23,4 +23,28 @@ tasks {
|
|||
compileJava {
|
||||
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