Skip to content

Commit

Permalink
add runtime plugin and switch to openjdk-20
Browse files Browse the repository at this point in the history
  • Loading branch information
gilmore606 committed Jul 19, 2023
1 parent 7d75e86 commit ee8ef56
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id 'org.jetbrains.kotlin.plugin.serialization' version '1.6.21'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'org.beryx.runtime' version '1.13.0'
}

group = 'me.danbu'
Expand All @@ -11,18 +12,22 @@ version = '1.0-SNAPSHOT'
allprojects {
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://jitpack.io' }
}

apply plugin: 'application'
apply plugin: 'org.beryx.runtime'
}

application {
mainClass = "DesktopLauncher"
applicationName = 'thundarr'
}

runtime {
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
modules = ['java.naming', 'java.xml']
javaHome = 'C:/Users/danbu/.jdks/openjdk-20.0.1'
}

dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:1.4.0'
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit ee8ef56

Please sign in to comment.