|
|
@@ -13,6 +13,13 @@ javafx {
|
|
|
|
|
|
apply(plugin = "com.github.johnrengelman.shadow")
|
|
|
|
|
|
+tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>() {
|
|
|
+ manifest {
|
|
|
+ attributes["Main-Class"] = "net.mamoe.mirai.console.graphical.MiraiGraphicalLoader"
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
val kotlinVersion: String by rootProject.ext
|
|
|
val atomicFuVersion: String by rootProject.ext
|
|
|
val coroutinesVersion: String by rootProject.ext
|
|
|
@@ -41,4 +48,4 @@ dependencies {
|
|
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
-}
|
|
|
+}
|