Skip to content

Commit

Permalink
all prepared for publishing to the gradle repo
Browse files Browse the repository at this point in the history
  • Loading branch information
AbrarSyed committed Aug 9, 2015
1 parent 9be05d7 commit 9c76d23
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.gradle.publish:plugin-publish-plugin:0.9.1"
}
}

apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: "com.gradle.plugin-publish"

group = 'net.minecraftforge.gradle'
version = '2.0-SNAPSHOT'
Expand All @@ -20,7 +32,7 @@ repositories {
name = "eclipse"
url = "https://repo.eclipse.org/content/groups/eclipse/"
}
//jcenter()
jcenter() // get as many deps from here as possible
mavenCentral()

// because of the GradleStart stuff
Expand Down Expand Up @@ -137,6 +149,36 @@ test {
exclude "**/ExtensionMcpMappingTest*"
}

pluginBundle {
website = 'http://www.gradle.org/'
vcsUrl = 'https://github.com/MinecraftForge/ForgeGradle'
description = 'Gradle plugin for all Minecraft mod development needs'
tags = ['forge', 'minecraft', 'minecraftforge', 'sponge', 'mcp']

plugins {
patcher {
id = 'net.minecraftforge.gradle.patcher'
displayName = 'Mincraft Patcher Plugin'
}
tweakerClient {
id = 'net.minecraftforge.gradle.tweaker-client'
displayName = 'Mincraft Client Tweaker Plugin'
}
tweakerServer {
id = 'net.minecraftforge.gradle.tweaker-server'
displayName = 'Mincraft Server Tweaker Plugin'
}
forge {
id = 'net.minecraftforge.gradle.forge'
displayName = 'MincraftForge Mod Development Plugin'
}

launch4j {
id = 'net.minecraftforge.gradle.launch4j'
displayName = 'Specialized Launch4J Gradle Plugin'
}
}
}

uploadArchives {
repositories.mavenDeployer {
Expand Down

0 comments on commit 9c76d23

Please sign in to comment.