This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added sample projects by using Gradle composite builds.
Composite builds is a very nice concept and is very helpful when it comes down using Gradle plugins in samples. It first builds the Pickle and makes it available in the sample project.
Composite builds automatically match the dependencies. In order to do this, Gradle Project's
group
andname
properties should match. That's why I movedlib
topickle-lib
etc and setgroup
tocom.fourlastor
. Thanks to this consistency, Gradle can handle the rest.Added sample for Kotlin and Java modules. First uses
kapt
andkaptAndroidTest
. Java only usesandroidTestAnnotationProcessor
configuration.Kotlin one currently fails with
Collection is empty
message. I investigated this. It turns out that it comes from the following line: https://github.com/fourlastor/pickle/blob/master/processor/src/main/java/com/fourlastor/pickle/Options.kt#L9 This means that the class withPickle
annotation is not recognized 😢