mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-04 08:59:47 +01:00
Go back to maven-publish plugin
This commit is contained in:
parent
2e14df134c
commit
6776a9b427
34
build.gradle
34
build.gradle
@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id "maven"
|
id 'maven-publish'
|
||||||
}
|
}
|
||||||
|
|
||||||
println 'Compiling LibsDisguises via Gradle ver. ' + gradle.gradleVersion
|
println 'Compiling LibsDisguises via Gradle ver. ' + gradle.gradleVersion
|
||||||
@ -58,19 +58,27 @@ artifacts {
|
|||||||
archives jar
|
archives jar
|
||||||
}
|
}
|
||||||
|
|
||||||
uploadArchives {
|
publishing {
|
||||||
repositories {
|
publications {
|
||||||
mavenDeployer {
|
mavenJava(MavenPublication) {
|
||||||
repository(url: "http://repo.md-5.net/content/groups/public/")
|
groupId 'LibsDisguises'
|
||||||
pom.groupId = 'LibsDisguises'
|
artifactId 'LibsDisguises'
|
||||||
pom.version = disguisesVersion
|
version disguisesVersion + '-SNAPSHOT'
|
||||||
pom.artifactId = 'LibsDisguises'
|
from components.java
|
||||||
|
artifact sourceJar {
|
||||||
|
classifier = 'sources'
|
||||||
|
}
|
||||||
|
artifact javadocJar {
|
||||||
|
classifier = 'javadoc'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
mavenDeployer {
|
}
|
||||||
repository(url: "http://repo.md-5.net/content/repositories/snapshots/")
|
repositories {
|
||||||
pom.groupId = 'LibsDisguises'
|
maven {
|
||||||
pom.version = disguisesVersion + "-SNAPSHOT"
|
url "http://repo.md-5.net/content/repositories/releases/"
|
||||||
pom.artifactId = 'LibsDisguises'
|
}
|
||||||
|
maven {
|
||||||
|
url "http://repo.md-5.net/content/repositories/snapshots/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user