added com.github.johnrengelman.shadow
this makes it a lot easier to build a runnable jar file
This commit is contained in:
parent
9ae50df1a4
commit
f22a9eb260
|
@ -15,10 +15,21 @@ buildscript {
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'org.jetbrains.kotlin.jvm' version '1.3.31'
|
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'
|
version '1.0-SNAPSHOT'
|
||||||
|
archivesBaseName = 'TextureSync'
|
||||||
|
mainClassName = 'org.hso.texturesyncclient.app.Main'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -30,10 +41,3 @@ dependencies {
|
||||||
implementation "com.jfoenix:jfoenix:8.0.9"
|
implementation "com.jfoenix:jfoenix:8.0.9"
|
||||||
implementation 'com.google.code.gson:gson:2.8.5'
|
implementation 'com.google.code.gson:gson:2.8.5'
|
||||||
}
|
}
|
||||||
|
|
||||||
compileKotlin {
|
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
|
||||||
}
|
|
||||||
compileTestKotlin {
|
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
|
||||||
}
|
|
|
@ -1,2 +1,2 @@
|
||||||
rootProject.name = 'texuresync_client'
|
rootProject.name = 'texturesync_client'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue