Allow "gradle install" to install into local Maven repo

This commit is contained in:
HenryLoenwind committed 2016-01-24 14:16:29 +01:00
1 parent ff423ae92a
commit 41ee6cdd17
1 file changed
+8
+8
View File
@@ -53,6 +53,7 @@ repositories {
maven { url = "http://maven.tterrag.com" }
maven { url = "http://maven.ic2.player.to" }
maven { url = "http://maven.cil.li/" }
mavenLocal()
}
dependencies {
@@ -141,6 +142,7 @@ if (JavaVersion.current().isJava8Compatible()) {
}
build.dependsOn sourceJar, deobfJar, apiJar, exportJavadoc
install.dependsOn build
publishing {
tasks.publish.dependsOn 'build'
@@ -161,6 +163,12 @@ publishing {
}
}
artifacts {
archives sourceJar
archives apiJar
archives deobfJar
}
String getChangelogText() {
def changelogFile = new File('ReleaseNotes.txt')
String str = ''