Skip to content

Commit

Permalink
Configurações de build
Browse files Browse the repository at this point in the history
  • Loading branch information
giverplay committed Dec 4, 2021
1 parent 69710a6 commit 9ef9bc9
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'java'
id "com.github.johnrengelman.shadow" version "7.0.0"
}

group 'net.focaenterprises'
Expand All @@ -11,4 +12,21 @@ repositories {

dependencies {
implementation 'io.socket:socket.io-client:2.0.1'
}
}

jar {
manifest {
attributes 'Main-Class': "${project.group}.peach.Launcher"
}
}

shadowJar {
archiveFileName.set("$project.name-release-${project.version}.jar")
}

tasks.build.dependsOn(shadowJar)

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

0 comments on commit 9ef9bc9

Please sign in to comment.