mirror of
https://github.com/qi4L/JYso.git
synced 2026-09-21 22:40:43 +08:00
fix: 优化配置文件
This commit is contained in:
+7
-23
@@ -1,8 +1,8 @@
|
|||||||
plugins {
|
plugins {
|
||||||
|
id 'java'
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
id 'com.gradleup.shadow' version '8.3.5'
|
id 'com.gradleup.shadow' version '9.4.1'
|
||||||
id 'java'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -17,14 +17,15 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
||||||
archiveClassifier.set('')
|
archiveClassifier = ''
|
||||||
|
zip64 = true
|
||||||
|
minimize()
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': 'com.qi4l.JYso.Starter'
|
attributes 'Main-Class': 'com.qi4l.JYso.Starter'
|
||||||
}
|
}
|
||||||
zip64=true
|
|
||||||
minimize()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'cn.hutool:hutool-all:5.7.7'
|
implementation 'cn.hutool:hutool-all:5.7.7'
|
||||||
implementation 'com.alibaba:fastjson:1.2.83'
|
implementation 'com.alibaba:fastjson:1.2.83'
|
||||||
@@ -93,7 +94,7 @@ dependencies {
|
|||||||
implementation files('libs/jai-core-1.1.3.jar')
|
implementation files('libs/jai-core-1.1.3.jar')
|
||||||
implementation files('libs/weblogic-server.jar')
|
implementation files('libs/weblogic-server.jar')
|
||||||
|
|
||||||
constraints {
|
dependencies {
|
||||||
implementation('commons-collections:commons-collections') {
|
implementation('commons-collections:commons-collections') {
|
||||||
version {
|
version {
|
||||||
strictly '3.2.1'
|
strictly '3.2.1'
|
||||||
@@ -131,23 +132,6 @@ version = '1.3.7'
|
|||||||
description = 'JYso'
|
description = 'JYso'
|
||||||
java.sourceCompatibility = JavaVersion.VERSION_1_8
|
java.sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|
||||||
publishing {
|
|
||||||
publications {
|
|
||||||
maven(MavenPublication) {
|
|
||||||
from(components.java)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
|
||||||
options.encoding = 'UTF-8'
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.withType(Javadoc) {
|
|
||||||
options.encoding = 'UTF-8'
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
compileJava {
|
compileJava {
|
||||||
options.compilerArgs << '-XDignore.symbol.file'
|
options.compilerArgs << '-XDignore.symbol.file'
|
||||||
options.fork = true
|
options.fork = true
|
||||||
|
|||||||
Reference in New Issue
Block a user