gradle for publish #339
This commit is contained in:
parent
4483143c35
commit
151cb6b60e
2 changed files with 0 additions and 44 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue