diff --git a/build.gradle b/build.gradle index 03794fd..40daaf7 100644 --- a/build.gradle +++ b/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,36 +50,14 @@ 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 { - // configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } + // uncomment this when publish! + // configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } manifest { attributes 'Manifest-Version': project.version @@ -147,7 +123,7 @@ publishing { artifact sourceJar artifact javadocJar artifact classJar - // artifact customFatJar + // artifact customFatJar pom { name = "bdware-cp" description = "cp"