File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,8 @@ lintfix: ## Applies the lint changes.
49
49
$(GRADLE ) spotlessApply
50
50
51
51
.PHONY : release
52
- release : # # Upload artifacts to Sonatype Nexus.
53
- $(GRADLE ) --info publish --stacktrace --no-daemon --no-parallel
54
- $(GRADLE ) --info releaseRepository
52
+ release : # # Upload artifacts to Maven Central.
53
+ $(GRADLE ) --info publishAndReleaseToMavenCentral --stacktrace --no-daemon --no-parallel --no-configuration-cache
55
54
56
55
.PHONY : releaselocal
57
56
releaselocal : # # Release artifacts to local maven repository.
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ allprojects {
219
219
220
220
mavenPublishing {
221
221
val isAutoReleased = project.hasProperty(" signingInMemoryKey" )
222
- publishToMavenCentral(SonatypeHost .CENTRAL_PORTAL )
222
+ publishToMavenCentral(SonatypeHost .CENTRAL_PORTAL , automaticRelease = true )
223
223
if (isAutoReleased) {
224
224
signAllPublications()
225
225
}
You can’t perform that action at this time.
0 commit comments