Add bintray publishing tasks to gradle
This commit is contained in:
parent
427883b253
commit
779be1d98f
10
build.gradle
10
build.gradle
@ -1,3 +1,13 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
jcenter()
|
||||
|
@ -1,6 +1,31 @@
|
||||
apply plugin: 'java-library'
|
||||
apply plugin: 'com.jfrog.bintray'
|
||||
|
||||
dependencies {
|
||||
compileOnly 'org.projectlombok:lombok:1.18.12'
|
||||
annotationProcessor 'org.projectlombok:lombok:1.18.12'
|
||||
}
|
||||
|
||||
ext {
|
||||
libraryVersion = '0.1.0'
|
||||
}
|
||||
|
||||
version = libraryVersion
|
||||
group = 'com.theokanning.openai-gpt3-java'
|
||||
|
||||
bintray {
|
||||
user = System.getenv("BINTRAY_USER")
|
||||
key = System.getenv("BINTRAY_KEY")
|
||||
|
||||
configurations = ['archives']
|
||||
pkg {
|
||||
repo = 'openai-gpt3-java'
|
||||
name = 'api'
|
||||
vcsUrl = 'https://github.com/TheoKanning/openai-java.git'
|
||||
licenses = ["MIT"]
|
||||
publish = true
|
||||
version {
|
||||
name = libraryVersion
|
||||
}
|
||||
}
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
apply plugin: 'java-library'
|
||||
apply plugin: 'com.jfrog.bintray'
|
||||
|
||||
dependencies {
|
||||
api project(":openai-api")
|
||||
@ -6,3 +7,27 @@ dependencies {
|
||||
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
|
||||
implementation 'com.squareup.retrofit2:converter-jackson:2.9.0'
|
||||
}
|
||||
|
||||
ext {
|
||||
libraryVersion = '0.1.0'
|
||||
}
|
||||
|
||||
version = libraryVersion
|
||||
group = 'com.theokanning.openai-gpt3-java'
|
||||
|
||||
bintray {
|
||||
user = System.getenv("BINTRAY_USER")
|
||||
key = System.getenv("BINTRAY_KEY")
|
||||
|
||||
configurations = ['archives']
|
||||
pkg {
|
||||
repo = 'openai-gpt3-java'
|
||||
name = 'client'
|
||||
vcsUrl = 'https://github.com/TheoKanning/openai-java.git'
|
||||
licenses = ["MIT"]
|
||||
publish = true
|
||||
version {
|
||||
name = libraryVersion
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user