Open magneticflux- opened 6 years ago
I just had a quick look at this one and it looks like we do not integrate well with this kind of project. I will have a more detailed look at this one later on this week.
From my investigation, it seems that this line isn't called:
https://github.com/mockito/shipkit/blob/3ee2eb772ec2490fbba2f6bebc69ae817160af5d/subprojects/shipkit/src/main/groovy/org/shipkit/internal/gradle/java/JavaBintrayPlugin.java#L26
because this line isn't called:
https://github.com/mockito/shipkit/blob/ff78aff3ed3f8a91fe3730e1b08cc320d0499f92/subprojects/shipkit/src/main/groovy/org/shipkit/internal/gradle/java/ShipkitJavaPlugin.java#L34
because my Android library does not have the java
plugin applied due to it being incompatible. Honestly, it seems to me the most "robust" way around this would be for the Android plugin to use the java
plugin since it's mostly programming in Java, but that doesn't seem like it's going to happen anytime soon.
When building and publishing and Android Library project, the
releaseNeeded
task always claims that changes have been made because the comparison fails for some reason. I have asourcesJar
task that mimics thejava-library
task of the same name and it gets published correctly, but it doesn't seem to be able to compare the current sources to the previous versions' sources.My code: https://github.com/magneticflux-/kotlin-livedata-utils
My build output:
@ashdavies I see that you use Shipkit for an Android Library project; have you had any issues with redundant releases?