• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂9d7dc915cf2a3a0aa13de66b07f89251b13c75f8 (tree)
時間2023-11-15 04:23:11
作者Hotshot5000 <sebastian_bugiu@yaho...>
CommiterHotshot5000

Log Message

Using shadowJar in order to build fat jars.

Change Summary

差異

--- a/build.gradle
+++ b/build.gradle
@@ -2,6 +2,10 @@ buildscript {
22 repositories {
33 mavenLocal()
44 mavenCentral()
5+ gradlePluginPortal()
6+ }
7+ dependencies {
8+ classpath "gradle.plugin.com.github.johnrengelman:shadow:7.1.2"
59 }
610 }
711
@@ -41,6 +45,7 @@ subprojects
4145 apply plugin: 'eclipse'
4246 apply plugin: 'idea'
4347 apply plugin: 'java-library'
48+ apply plugin: 'com.github.johnrengelman.shadow'
4449
4550 sourceCompatibility = 1.8
4651 targetCompatibility = 1.8
@@ -63,9 +68,20 @@ subprojects
6368 javadoc {
6469 options.addStringOption('Xdoclint:none', '-quiet')
6570 }
71+
72+// jar {
73+// from {
74+// configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
75+// }
76+// manifest {
77+//// attributes "Main-Class": "com.orthanc.mypackage.Main"
78+// }
79+// duplicatesStrategy = DuplicatesStrategy.EXCLUDE
80+// }
6681 }
6782
6883 apply plugin: 'eclipse'
6984 eclipse.project.name = "root"
7085
71-apply from: rootProject.file('publish.gradle')
\ No newline at end of file
86+apply from: rootProject.file('publish.gradle')
87+
--- a/gdx-jnigen-gradle/build.gradle
+++ b/gdx-jnigen-gradle/build.gradle
@@ -1,4 +1,8 @@
11 dependencies {
22 implementation project(":gdx-jnigen")
33 implementation gradleApi()
4-}
\ No newline at end of file
4+}
5+
6+//tasks.named('jar') {
7+// dependsOn(":gdx-jnigen:jar")
8+//}
\ No newline at end of file
--- a/gdx-jnigen-loader/build.gradle
+++ b/gdx-jnigen-loader/build.gradle
@@ -1,5 +1,5 @@
1-sourceCompatibility = 1.7
2-targetCompatibility = 1.7
1+sourceCompatibility = 1.8
2+targetCompatibility = 1.8
33
44 eclipse {
55 project {