mirror of
https://gitee.com/BDWare/cp.git
synced 2025-01-10 09:54:07 +00:00
fix: yjs.jar corrupted
This commit is contained in:
parent
30d5ca5ace
commit
c9b5a32e46
26
build.gradle
26
build.gradle
@ -1,8 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
//id 'application'
|
|
||||||
id 'com.github.johnrengelman.shadow' version '4.0.2'
|
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
id 'signing'
|
id 'signing'
|
||||||
}
|
}
|
||||||
@ -52,35 +50,13 @@ dependencies {
|
|||||||
task classJar(type: Jar, dependsOn: classes) {
|
task classJar(type: Jar, dependsOn: classes) {
|
||||||
classifier = "jar"
|
classifier = "jar"
|
||||||
}
|
}
|
||||||
//jar {
|
|
||||||
// classifier = ""
|
|
||||||
//}
|
|
||||||
|
|
||||||
//task customFatJar(type: Jar) {
|
|
||||||
// String libs = ''
|
|
||||||
// configurations.runtimeClasspath.each {
|
|
||||||
// libs = libs + " libs/" + it.name
|
|
||||||
// }
|
|
||||||
// baseName = 'pure'
|
|
||||||
// classifier = ''
|
|
||||||
// manifest {
|
|
||||||
// attributes 'Manifest-Version': project.version
|
|
||||||
// attributes 'Main-Class': 'org.bdware.sc.ContractProcess'
|
|
||||||
// attributes 'Class-Path': libs
|
|
||||||
// }
|
|
||||||
// from {
|
|
||||||
// configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
|
||||||
// }
|
|
||||||
// with jar
|
|
||||||
//}
|
|
||||||
|
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
String libs = ''
|
String libs = ''
|
||||||
configurations.runtimeClasspath.each {
|
configurations.runtimeClasspath.each {
|
||||||
libs = libs + " libs/" + it.name
|
libs = libs + " libs/" + it.name
|
||||||
}
|
}
|
||||||
from {
|
from {
|
||||||
|
// uncomment this when publish!
|
||||||
// configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
// configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
||||||
}
|
}
|
||||||
manifest {
|
manifest {
|
||||||
|
Loading…
Reference in New Issue
Block a user