Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Update of Code to 1.8 #10

Open
2iguys opened this issue Jul 20, 2015 · 5 comments
Open

Update of Code to 1.8 #10

2iguys opened this issue Jul 20, 2015 · 5 comments

Comments

@2iguys
Copy link

2iguys commented Jul 20, 2015

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'

repositories {
mavenCentral()
maven {
name = "bukkit-central"
url = "http://repo.bukkit.org/content/groups/public/"
}
maven {
name = "plugin-metrics"
url = "http://repo.mcstats.org/content/repositories/public"
}
}

compileJava {
sourceCompatibility '1.6'
targetCompatibility '1.6'
}

dependencies {
compile 'org.bukkit:bukkit:1.7.2-R0.4-SNAPSHOT'
compile 'org.mcstats.bukkit:metrics-lite:R6'
}

//buildNumber is deprecated
def buildnumber = 0
if(System.getenv().BUILD_NUMBER != null)
{
buildnumber = System.getenv().BUILD_NUMBER
}

// version and stuff
version = "1.0-BETA-${buildnumber}"
ext.minecraftVersion = "1.7.2"
group = "com.jadarstudios.rankcapes.bukkit"
archivesBaseName = "RankCapes-bukkit"

// jar naming
jar
{
appendix = "${project.ext.minecraftVersion}"
}

// fix mcmod.info and include resources
processResources
{
// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {

    // replace version and mcversion
    expand 'version':project.version, 'mcversion':project.ext.minecraftVersion
}

}

@jadar
Copy link
Owner

jadar commented Jul 20, 2015

What is this..?

@2iguys
Copy link
Author

2iguys commented Jul 20, 2015

this is the build.gradle

@jadar
Copy link
Owner

jadar commented Jul 20, 2015

I'd suggest changing the actual file, and then submitting a pull request..

@2iguys
Copy link
Author

2iguys commented Jul 20, 2015

you need to upgrade the code for 1.8 anyways, along with the mod. was gonna rewrite, but there is too much do recode for me

@2iguys
Copy link
Author

2iguys commented Jul 20, 2015

what?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants