File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+
12plugins {
23 id ' java'
3- id ' java-library'
4+ // id 'java-library'
45 id ' maven'
56 id ' maven-publish'
67}
78
9+
810buildDir = new File (project. rootProject. buildDir, " /remoteapi/java" )
911
1012def artifactPrefix = ' labkey-client-api'
@@ -18,6 +20,10 @@ import org.labkey.gradle.util.BuildUtils
1820import org.labkey.gradle.util.GroupNames
1921import org.labkey.gradle.task.PomFile
2022
23+ project. configurations {
24+ api. extendsFrom(compile) // added for use by PomFile task
25+ }
26+
2127dependencies {
2228 compile " org.apache.httpcomponents:httpmime:${ httpmimeVersion} "
2329 compile (" com.googlecode.json-simple:json-simple:${ jsonSimpleVersion} " )
@@ -51,6 +57,7 @@ project.tasks.withType(JavaCompile) {
5157 targetCompatibility = project. ext. targetCompatibility
5258}
5359
60+
5461project. task(" fatJar" ,
5562 description : " Generate single jar file containing the api and all its dependent classes" ,
5663 group : GroupNames . BUILD ,
You can’t perform that action at this time.
0 commit comments