Skip to content

Commit

Permalink
fix build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
iesika committed Feb 16, 2018
1 parent 4364a82 commit 32fbef0
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
buildscript {
repositories {
jcenter()
maven { url = "http://files.minecraftforge.net/maven" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
//Only edit below this line, the above code adds and enables the nessasary things for Forge to be setup.

version = "1.0.3"
group= "com.iesika.aem"
archivesBaseName = "AdditionalEntityMode"

sourceCompatibility = targetCompatibility = "1.8"
compileJava {
sourceCompatibility = targetCompatibility = "1.8"
}

minecraft {
version = "1.10.2-12.18.3.2422"
runDir = "run"
mappings = "snapshot_20161111"

replace "@VERSION@", project.version
}

dependencies {
compile project(':EBLib')
compile project(':LittleMaidReengaged')
}

processResources{

inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version

from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version':project.version, 'mcversion':project.minecraft.version
}

from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
//@VERSION@
}
}

tasks.withType(Jar) {
compileJava.options.encoding = 'UTF-8'
}

tasks.withType(Jar) {
compileApiJava.options.encoding = 'UTF-8'
}

0 comments on commit 32fbef0

Please sign in to comment.