Skip to content

Commit

Permalink
update build.gradle (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
axshani authored Dec 27, 2023
1 parent 0bb23f2 commit 4f16a10
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ apply plugin: 'eclipse'
apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'org.openapitools'
version = '0.2.0'
group = 'co.unit.sdk'
version = '1.0-SNAPSHOT'

buildscript {
repositories {
Expand Down Expand Up @@ -89,8 +89,26 @@ if(hasProperty('target') && target == 'android') {
publishing {
publications {
maven(MavenPublication) {
artifactId = 'openapi-java-client'
from components.java
groupId = 'co.unit'
artifactId = 'java-sdk'
version = "0.1-SNAPSHOT"
from components.java

pom {
name = 'Unit Java SDK'
description = "This library provides a Java SDK to Unit's API."
}
}
}

repositories {
maven {
name = "OSSRH"
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
}
}
Expand Down

0 comments on commit 4f16a10

Please sign in to comment.