File tree Expand file tree Collapse file tree 1 file changed +22
-4
lines changed Expand file tree Collapse file tree 1 file changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ apply plugin: 'eclipse'
33apply plugin : ' java'
44apply plugin : ' com.diffplug.spotless'
55
6- group = ' org.openapitools '
7- version = ' 0.2.0 '
6+ group = ' co.unit.sdk '
7+ version = ' 1.0-SNAPSHOT '
88
99buildscript {
1010 repositories {
@@ -89,8 +89,26 @@ if(hasProperty('target') && target == 'android') {
8989 publishing {
9090 publications {
9191 maven(MavenPublication ) {
92- artifactId = ' openapi-java-client'
93- from components. java
92+ groupId = ' co.unit'
93+ artifactId = ' java-sdk'
94+ version = " 0.1-SNAPSHOT"
95+ from components. java
96+
97+ pom {
98+ name = ' Unit Java SDK'
99+ description = " This library provides a Java SDK to Unit's API."
100+ }
101+ }
102+ }
103+
104+ repositories {
105+ maven {
106+ name = " OSSRH"
107+ url = " https://s01.oss.sonatype.org/content/repositories/snapshots/"
108+ credentials {
109+ username = System . getenv(" MAVEN_USERNAME" )
110+ password = System . getenv(" MAVEN_PASSWORD" )
111+ }
94112 }
95113 }
96114 }
You can’t perform that action at this time.
0 commit comments