mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 15:56:07 +00:00
Allow "gradle install" to install into local Maven repo
This commit is contained in:
1 parent
ff423ae92a
commit
41ee6cdd17
1 file changed
+8
@@ -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 = ''
|
||||
|
||||
Reference in new issue
Block a user