aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-04-04 11:07:43 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-04-04 11:07:43 -0700
commit39b4a254bdb0a49402bd7637af6b7e291c77cc76 (patch)
tree14f314cbcb2dad5408da5cf2dc2db1868aa1f490
parentd4ed8d7fed5a0932aa46a40fbd6d7e0b3acdf2a5 (diff)
downloadtrackermap-server-39b4a254bdb0a49402bd7637af6b7e291c77cc76.tar.gz
trackermap-server-39b4a254bdb0a49402bd7637af6b7e291c77cc76.tar.bz2
trackermap-server-39b4a254bdb0a49402bd7637af6b7e291c77cc76.zip
Simplify gradle script
-rw-r--r--build.gradle9
1 files changed, 2 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle
index 595bb8484..29cd3a2d0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,6 @@ plugins {
id "checkstyle"
id "com.google.protobuf" version "0.8.12"
id "org.kordamp.gradle.project-enforcer" version "0.9.0"
- id "application"
}
repositories {
@@ -20,7 +19,7 @@ ext {
sourceCompatibility = "1.8"
compileJava.options.encoding = "UTF-8"
-mainClassName = "org.traccar.Main"
+jar.destinationDirectory = file("$projectDir/target")
checkstyle {
toolVersion = "8.26"
@@ -92,11 +91,7 @@ task copyDependencies(type: Copy) {
into "$projectDir/target/lib"
from configurations.runtimeClasspath
}
-task copyBinary(type: Copy) {
- into "$projectDir/target"
- from jar
-}
-assemble.dependsOn(copyBinary, copyDependencies)
+assemble.dependsOn(copyDependencies)
jar {
manifest {