Add modsio uploading
This commit is contained in:
parent
f7ff3f87a9
commit
1b9e47206a
1 changed files with 17 additions and 0 deletions
17
build.gradle
17
build.gradle
|
@ -8,16 +8,22 @@ buildscript {
|
|||
maven {
|
||||
name = "sonatype"
|
||||
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
||||
}
|
||||
maven {
|
||||
name = "Modmuss50"
|
||||
url = "http://maven.modmuss50.me/"
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
|
||||
classpath 'ModsIOUpload:ModsIOUpload:+'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'modsio'
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
@ -149,6 +155,17 @@ artifacts {
|
|||
|
||||
build.dependsOn deobfJar, apiJar
|
||||
|
||||
|
||||
uploadToModsIO {
|
||||
modId = "1182"
|
||||
minecraft = "1.9.4"
|
||||
changelog = "See github"
|
||||
tag = "alpha"
|
||||
apiKey = project.getProperty('modsioTRKey')
|
||||
artifact = jar.archivePath
|
||||
current = false;
|
||||
}
|
||||
|
||||
uploadArchives {
|
||||
repositories {
|
||||
mavenDeployer {
|
||||
|
|
Loading…
Reference in a new issue