//import edu.sc.seis.launch4j.tasks.Launch4jLibraryTask plugins { id 'java' id 'com.github.johnrengelman.shadow' version '5.2.0' // id 'edu.sc.seis.launch4j' version '2.5.1' } group 'tech.nevets.jaml' version '0.6.0' def build = 'stable' repositories { mavenCentral() maven { url 'https://jitpack.io' } maven { url 'https://repo.nevets.tech/repository/maven-public' } } sourceCompatibility = targetCompatibility = '17' tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } dependencies { implementation 'me.carleslc.Simple-YAML:Simple-Yaml:1.7.3' implementation 'com.google.code.gson:gson:2.9.0' implementation 'net.arikia.dev:drpc:1.0' implementation 'commons-io:commons-io:2.11.0' } shadowJar { manifest { attributes( 'Main-Class': 'tech.nevets.jaml.JAML' ) } } //launch4j { // mainClassName = 'tech.nevets.jaml.JAML' // outfile = 'JAML.exe' // jarTask = project.tasks.shadowJar // fileDescription = 'Just Another Minecraft Launcher' // //} // //task Build(type: Launch4jLibraryTask) { // mainClassName = 'tech.nevets.jaml.JAML' // outfile = 'JAML.exe' // jarTask = project.tasks.shadowJar // fileDescription = 'Just Another Minecraft Launcher' // bundledJre64Bit = true // bundledJrePath = '' //} // //task winBuild(type: Launch4jLibraryTask) { // mainClassName = 'tech.nevets.jaml.JAML' // outfile = 'JAML.exe' // jarTask = project.tasks.shadowJar // fileDescription = 'Just Another Minecraft Launcher' // bundledJre64Bit = true // bundledJrePath = '' //}