41 lines
No EOL
949 B
Groovy
41 lines
No EOL
949 B
Groovy
apply plugin: "base"
|
|
apply plugin: "java"
|
|
apply plugin: "idea"
|
|
|
|
sourceCompatibility = targetCompatibility = 1.8
|
|
|
|
version = "1.1.0"
|
|
group = "io.github.zekerzhayard"
|
|
archivesBaseName = rootProject.name
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
maven {
|
|
name = "forge"
|
|
url = "https://files.minecraftforge.net/maven"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile "commons-codec:commons-codec:1.10"
|
|
compile "cpw.mods:modlauncher:4.1.0"
|
|
compile "net.minecraftforge:forge:1.14.4-28.2.0:installer"
|
|
}
|
|
|
|
jar {
|
|
manifest.attributes(
|
|
"Main-Class": "io.github.zekerzhayard.forgewrapper.converter.Main"
|
|
)
|
|
}
|
|
|
|
processResources {
|
|
inputs.property "version", project.version
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
include "patches/net.minecraftforge.json"
|
|
expand "version": project.version
|
|
}
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
exclude "patches/net.minecraftforge.json"
|
|
}
|
|
} |