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.7.1' def build = 'dev' 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' icon = "${projectDir}/src/main/resources/assets/icon.ico" productName = 'JAML' version = "$this.version" textVersion = "$this.version" copyright = "GPL3" companyName = "nevets.tech" downloadUrl = "https://git.nevets.tech/Steven/JAML" bundledJrePath = './jre' bundledJre64Bit = true bundledJreAsFallback = true }