aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadornes <amadornes@gmail.com>2018-07-11 19:49:47 +0200
committerAmadornes <amadornes@gmail.com>2018-07-11 19:49:47 +0200
commit5bdc425b044246521849e902290ec8e65812f7be (patch)
tree1c9fe71a8b6610a5dd8e8ed0204d5f9c8ffc576b
parente52ed01dd0992f3ebadc716af2687a70be9f325c (diff)
downloadArtifactural-5bdc425b044246521849e902290ec8e65812f7be.tar.gz
Artifactural-5bdc425b044246521849e902290ec8e65812f7be.tar.bz2
Artifactural-5bdc425b044246521849e902290ec8e65812f7be.zip
Fixed gradle setup for better dependency handling
-rw-r--r--build.gradle15
-rw-r--r--src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java (renamed from src/main/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java)0
-rw-r--r--src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactIdentifierImpl.java (renamed from src/main/java/com/amadornes/artifactural/base/artifact/ArtifactIdentifierImpl.java)0
-rw-r--r--src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java (renamed from src/main/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java)0
-rw-r--r--src/shared/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java (renamed from src/main/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java)0
-rw-r--r--src/shared/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java (renamed from src/main/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java)0
-rw-r--r--src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java (renamed from src/main/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java)0
-rw-r--r--src/shared/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java (renamed from src/main/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java)0
-rw-r--r--src/shared/java/com/amadornes/artifactural/base/repository/SimpleRepository.java (renamed from src/main/java/com/amadornes/artifactural/base/repository/SimpleRepository.java)0
-rw-r--r--src/shared/java/com/amadornes/artifactural/base/transform/ExclusiveTransformer.java (renamed from src/main/java/com/amadornes/artifactural/base/transform/ExclusiveTransformer.java)0
-rw-r--r--src/shared/java/com/amadornes/artifactural/base/transform/SimpleArtifactPipeline.java (renamed from src/main/java/com/amadornes/artifactural/base/transform/SimpleArtifactPipeline.java)0
11 files changed, 7 insertions, 8 deletions
diff --git a/build.gradle b/build.gradle
index 43e053e..64c4c30 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,7 +6,7 @@ version = '1.0.0'
sourceSets {
api
- main
+ shared
gradlecomp
}
@@ -16,15 +16,14 @@ repositories {
}
dependencies {
- implementation sourceSets.api.output
+ sharedImplementation sourceSets.api.output
gradlecompImplementation sourceSets.api.output
- gradlecompImplementation sourceSets.main.output
+ gradlecompImplementation sourceSets.shared.output
gradlecompImplementation gradleApi()
+
+ compile sourceSets.api.output
+ compile sourceSets.shared.output
+ compile sourceSets.gradlecomp.output
}
-jar {
- from sourceSets.api.output
- from sourceSets.main.output
- from sourceSets.gradlecomp.output
-}
diff --git a/src/main/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java b/src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java
index 4656285..4656285 100644
--- a/src/main/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java
+++ b/src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java
diff --git a/src/main/java/com/amadornes/artifactural/base/artifact/ArtifactIdentifierImpl.java b/src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactIdentifierImpl.java
index 26acd29..26acd29 100644
--- a/src/main/java/com/amadornes/artifactural/base/artifact/ArtifactIdentifierImpl.java
+++ b/src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactIdentifierImpl.java
diff --git a/src/main/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java b/src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java
index e08cd7b..e08cd7b 100644
--- a/src/main/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java
+++ b/src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java
diff --git a/src/main/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java b/src/shared/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java
index 4f3df7a..4f3df7a 100644
--- a/src/main/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java
+++ b/src/shared/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java
diff --git a/src/main/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java b/src/shared/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java
index 5f1c240..5f1c240 100644
--- a/src/main/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java
+++ b/src/shared/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java
diff --git a/src/main/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java b/src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java
index caa5de7..caa5de7 100644
--- a/src/main/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java
+++ b/src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java
diff --git a/src/main/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java b/src/shared/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java
index 1f756ec..1f756ec 100644
--- a/src/main/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java
+++ b/src/shared/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java
diff --git a/src/main/java/com/amadornes/artifactural/base/repository/SimpleRepository.java b/src/shared/java/com/amadornes/artifactural/base/repository/SimpleRepository.java
index 7f437f8..7f437f8 100644
--- a/src/main/java/com/amadornes/artifactural/base/repository/SimpleRepository.java
+++ b/src/shared/java/com/amadornes/artifactural/base/repository/SimpleRepository.java
diff --git a/src/main/java/com/amadornes/artifactural/base/transform/ExclusiveTransformer.java b/src/shared/java/com/amadornes/artifactural/base/transform/ExclusiveTransformer.java
index e16be1f..e16be1f 100644
--- a/src/main/java/com/amadornes/artifactural/base/transform/ExclusiveTransformer.java
+++ b/src/shared/java/com/amadornes/artifactural/base/transform/ExclusiveTransformer.java
diff --git a/src/main/java/com/amadornes/artifactural/base/transform/SimpleArtifactPipeline.java b/src/shared/java/com/amadornes/artifactural/base/transform/SimpleArtifactPipeline.java
index 625b2e9..625b2e9 100644
--- a/src/main/java/com/amadornes/artifactural/base/transform/SimpleArtifactPipeline.java
+++ b/src/shared/java/com/amadornes/artifactural/base/transform/SimpleArtifactPipeline.java