diff options
Diffstat (limited to 'build.gradle')
-rwxr-xr-x | build.gradle | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 36577c8..63a7dca 100755 --- a/build.gradle +++ b/build.gradle @@ -12,8 +12,9 @@ buildscript { } apply plugin: 'net.minecraftforge.gradle.forge' allprojects { - version = "1.0.0.1" // First 3 numbers should correspond to the version of the API, last number is for the mod itself for any changes/fixes - group = "net.hypixel.modapi" // http://maven.apache.org/guides/mini/guide-naming-conventions.html + apply plugin: 'maven-publish' + version = "1.0.0.2" // First 3 numbers should correspond to the version of the API, last number is for the mod itself for any changes/fixes + group = "net.hypixel" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "HypixelModAPI" repositories { @@ -22,6 +23,17 @@ allprojects { } mavenLocal() } + + publishing { + publications { + maven(MavenPublication) { + groupId = project.group + artifactId = project == rootProject ? 'mod-api-forge' : ('mod-api-forge-' + project.name) + version = project.version + from components.java + } + } + } } sourceCompatibility = 1.8 |