Skip to content

Commit

Permalink
Add dependency to Gooey
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDog896 committed Dec 5, 2021
1 parent f473d13 commit 2e83479
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions build.gradle.kts
Expand Up @@ -3,9 +3,9 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar

plugins {
// Apply the Kotlin JVM plugin to add support for Kotlin.
id("org.jetbrains.kotlin.jvm") version "1.5.31"
id("org.jetbrains.kotlin.jvm") version "1.6.0"
// Kotlinx serialization for any data format
kotlin("plugin.serialization") version "1.5.31"
kotlin("plugin.serialization") version "1.6.0"
// Shade the plugin
id("com.github.johnrengelman.shadow") version "7.0.0"
// Allow publishing
Expand Down Expand Up @@ -38,7 +38,7 @@ dependencies {
compileOnly(kotlin("reflect"))

// Compile Minestom into project
compileOnly("com.github.Minestom:Minestom:f26e6ef91f")
compileOnly("com.github.Minestom:Minestom:8410de18d2")

// import kotlinx serialization
compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0")
Expand Down Expand Up @@ -82,13 +82,13 @@ tasks {
}

java {
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}


val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions.jvmTarget = JavaVersion.VERSION_16.toString()
compileKotlin.kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString()

compileKotlin.kotlinOptions {
freeCompilerArgs = listOf("-Xinline-classes")
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/extension.json
Expand Up @@ -4,6 +4,7 @@
"version": "${project.version}",
"dependencies": [
"KStom",
"Kepi"
"Kepi",
"Gooey"
]
}

0 comments on commit 2e83479

Please sign in to comment.