34 lines
707 B
Groovy
34 lines
707 B
Groovy
plugins {
|
|
id 'multiloader-common'
|
|
id 'org.spongepowered.gradle.vanilla' version '0.2.1-SNAPSHOT'
|
|
}
|
|
|
|
minecraft {
|
|
version(minecraft_version)
|
|
def aw = file("src/main/resources/${mod_id}.accesswidener")
|
|
if(aw.exists()){
|
|
accessWideners(aw)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly group:'org.spongepowered', name:'mixin', version:'0.8.5'
|
|
}
|
|
|
|
configurations {
|
|
commonJava {
|
|
canBeResolved = false
|
|
canBeConsumed = true
|
|
}
|
|
commonResources {
|
|
canBeResolved = false
|
|
canBeConsumed = true
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
commonJava sourceSets.main.java.sourceDirectories.singleFile
|
|
commonResources sourceSets.main.resources.sourceDirectories.singleFile
|
|
}
|
|
|