diff options
author | Amadornes <amadornes@gmail.com> | 2018-08-19 00:19:38 +0200 |
---|---|---|
committer | Amadornes <amadornes@gmail.com> | 2018-08-19 00:19:38 +0200 |
commit | 897a13a65e5e4e94b73276753255ba3b7e2a9087 (patch) | |
tree | cb7a91386e1071b0f9b70b8084022b9bee0a2a06 /build.gradle | |
parent | 8f22509fd04c5b1124bda533cf276dd1a34c31bf (diff) | |
download | Artifactural-897a13a65e5e4e94b73276753255ba3b7e2a9087.tar.gz Artifactural-897a13a65e5e4e94b73276753255ba3b7e2a9087.tar.bz2 Artifactural-897a13a65e5e4e94b73276753255ba3b7e2a9087.zip |
Fixed dependencies on gradle repackaged libs
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/build.gradle b/build.gradle index 64c4c30..3f6f986 100644 --- a/build.gradle +++ b/build.gradle @@ -1,13 +1,12 @@ apply plugin: 'java' -apply plugin: 'idea' group = 'com.amadornes.artifactural' version = '1.0.0' sourceSets { api - shared - gradlecomp + shared + gradlecomp } repositories { @@ -15,15 +14,29 @@ repositories { mavenCentral() } +configurations { + sharedImplementation.extendsFrom apiImplementation + gradlecompImplementation.extendsFrom sharedImplementation + + compile.extendsFrom sharedImplementation + compile.extendsFrom gradlecompImplementation +} + dependencies { sharedImplementation sourceSets.api.output - - gradlecompImplementation sourceSets.api.output + gradlecompImplementation sourceSets.shared.output gradlecompImplementation gradleApi() - - compile sourceSets.api.output - compile sourceSets.shared.output - compile sourceSets.gradlecomp.output + gradlecompImplementation 'com.google.guava:guava:26.0-jre' + gradlecompImplementation 'commons-io:commons-io:2.4' + + compile sourceSets.api.output + compile sourceSets.shared.output + compile sourceSets.gradlecomp.output } +jar { + from sourceSets.api.output + from sourceSets.shared.output + from sourceSets.gradlecomp.output +} |