mirror of
https://gitee.com/BDWare/cp.git
synced 2025-01-10 01:44:08 +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 {
|
||||
id 'java'
|
||||
id 'java-library'
|
||||
//id 'application'
|
||||
id 'com.github.johnrengelman.shadow' version '4.0.2'
|
||||
id 'maven-publish'
|
||||
id 'signing'
|
||||
}
|
||||
@ -52,35 +50,13 @@ dependencies {
|
||||
task classJar(type: Jar, dependsOn: classes) {
|
||||
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 {
|
||||
String libs = ''
|
||||
configurations.runtimeClasspath.each {
|
||||
libs = libs + " libs/" + it.name
|
||||
}
|
||||
from {
|
||||
// uncomment this when publish!
|
||||
// configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
}
|
||||
manifest {
|
||||
|
Loading…
Reference in New Issue
Block a user