Closed luqven closed 3 years ago
Tried every which way to change the gradle syntax to account for uploadArchives
being deprecated but kept getting some very cryptic errors. For now, we have a build deployed to maven central (won't show up for another few hours) but this gradle script will stop working soonish. Next release might not be able to use it.
TDLR: we can now upload to maven central (once gradle.properties is defined locally) but this fix will not work long.
Somehow I've managed it. The entire build-deploy process is now handled in the build.gradle
file. Some env variables are assumed.
And we're live on the sonatype maven central search 🎉
Congrats on this 👏
Just a note that the imgix-java-2.3.0.jar
file currently on Maven Central only contains .java
source files, and not compiled .class
files, so I think something is missing here. Thanks!
Just a note that the
imgix-java-2.3.0.jar
file currently on Maven Central only contains.java
source files, and not compiled.class
files, so I think something is missing here. Thanks!
Hey csummers, thanks for reporting this. We're aware of the issue and it's a high priority for us to fix this. We'll share any updates we have here.
Description
This PR introduces
gradle.build
changes that should allow us to transition to publishing our library on the maven central repository.pom.xml
file matches MavenCentral specs