ForgeWrapper/build.gradle
2020-03-26 20:46:22 +08:00

41 lines
No EOL
926 B
Groovy

apply plugin: "base"
apply plugin: "java"
apply plugin: "eclipse"
apply plugin: "idea"
sourceCompatibility = targetCompatibility = 1.8
version = "1.3.1"
group = "io.github.zekerzhayard"
archivesBaseName = rootProject.name
repositories {
mavenCentral()
jcenter()
maven {
name = "forge"
url = "https://files.minecraftforge.net/maven"
}
}
dependencies {
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"
}
}