added com.github.johnrengelman.shadow
this makes it a lot easier to build a runnable jar file
This commit is contained in:
		@ -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"
 | 
			
		||||
}
 | 
			
		||||
@ -1,2 +1,2 @@
 | 
			
		||||
rootProject.name = 'texuresync_client'
 | 
			
		||||
rootProject.name = 'texturesync_client'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user