File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1717 - name : Grant execute permission for gradlew
1818 run : chmod +x gradlew
1919 - name : Publish package to Maven Repository
20- run : ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
20+ run : ./gradlew publishToSonatype closeSonatypeStagingRepository
2121 env :
2222 SONATYPE_USER : ${{ secrets.SONATYPE_USER }}
2323 SONATYPE_KEY : ${{ secrets.SONATYPE_KEY }}
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ The JARs can be downloaded manually from our [Maven Central Repo](https://search
8383** Gradle:**
8484
8585``` groovy
86- compile 'io.tus.java.client:tus-java-client:0.4.4 '
86+ implementation 'io.tus.java.client:tus-java-client:0.4.5 '
8787```
8888
8989** Maven:**
@@ -92,7 +92,7 @@ compile 'io.tus.java.client:tus-java-client:0.4.4'
9292<dependency >
9393 <groupId >io.tus.java.client</groupId >
9494 <artifactId >tus-java-client</artifactId >
95- <version >0.4.4 </version >
95+ <version >0.4.5 </version >
9696</dependency >
9797```
9898
Original file line number Diff line number Diff line change 11plugins {
22 id ' signing'
33 id(' io.github.gradle-nexus.publish-plugin' ) version ' 1.1.0'
4- id ' maven-publish'
54}
65
76apply plugin : ' java'
8- apply plugin : ' maven'
7+ apply plugin : ' maven-publish '
98
109group ' io.tus.java.client'
1110
@@ -76,9 +75,10 @@ def pomConfig = {
7675publishing {
7776 publications {
7877 mavenJava(MavenPublication ) {
78+ from components. java
7979 groupId = ' io.tus.java.client'
8080 artifactId = ' tus-java-client'
81- version
81+ version project . getVersion()
8282 artifact sourcesJar
8383 artifact javadocJar
8484
Original file line number Diff line number Diff line change 1- versionNumber =' 0.4.4 '
1+ versionNumber =' 0.4.5 '
You can’t perform that action at this time.
0 commit comments