gradle for publish #339

This commit is contained in:
afischerdev 2021-10-07 12:21:02 +02:00
parent 4483143c35
commit 151cb6b60e
2 changed files with 0 additions and 44 deletions

View file

@ -1,27 +1,5 @@
plugins {
id 'java-library'
id 'maven-publish'
}
publishing {
repositories {
maven {
name = "Github"
url = uri("https://maven.pkg.github.com/afischerdev/brouter")
credentials {
username = findProperty("github.username")
password = findProperty("github.token")
}
}
}
publications {
register("jar", MavenPublication) {
from(components["java"])
pom {
url.set("https://github.com/afischerdev/brouter.git")
}
}
}
}
dependencies {

View file

@ -1,27 +1,5 @@
plugins {
id 'java-library'
id 'maven-publish'
}
publishing {
repositories {
maven {
name = "Github"
url = uri("https://maven.pkg.github.com/afischerdev/brouter")
credentials {
username = findProperty("github.username")
password = findProperty("github.token")
}
}
}
publications {
register("jar", MavenPublication) {
from(components["java"])
pom {
url.set("https://github.com/afischerdev/brouter.git")
}
}
}
}
dependencies {