added com.github.johnrengelman.shadow

this makes it a lot easier to build a runnable jar file
This commit is contained in:
Jannik 2019-06-08 15:32:05 +02:00
parent 9ae50df1a4
commit f22a9eb260
Signed by: Seil0
GPG Key ID: E8459F3723C52C24
2 changed files with 13 additions and 9 deletions

View File

@ -15,10 +15,21 @@ buildscript {
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.31'
id "com.github.johnrengelman.shadow" version "5.0.0"
id "application"
}
group 'com.hso'
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
group 'org.hso'
version '1.0-SNAPSHOT'
archivesBaseName = 'TextureSync'
mainClassName = 'org.hso.texturesyncclient.app.Main'
repositories {
mavenCentral()
@ -30,10 +41,3 @@ dependencies {
implementation "com.jfoenix:jfoenix:8.0.9"
implementation 'com.google.code.gson:gson:2.8.5'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}

View File

@ -1,2 +1,2 @@
rootProject.name = 'texuresync_client'
rootProject.name = 'texturesync_client'