Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 779be1d

Browse filesBrowse files
committed
Add bintray publishing tasks to gradle
1 parent 427883b commit 779be1d
Copy full SHA for 779be1d

File tree

Expand file treeCollapse file tree

3 files changed

+60
-0
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+60
-0
lines changed

‎build.gradle

Copy file name to clipboardExpand all lines: build.gradle
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
}
5+
dependencies {
6+
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
7+
}
8+
}
9+
10+
111
allprojects {
212
repositories {
313
jcenter()

‎openai-api/build.gradle

Copy file name to clipboard
+25Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
apply plugin: 'java-library'
2+
apply plugin: 'com.jfrog.bintray'
23

34
dependencies {
45
compileOnly 'org.projectlombok:lombok:1.18.12'
56
annotationProcessor 'org.projectlombok:lombok:1.18.12'
7+
}
8+
9+
ext {
10+
libraryVersion = '0.1.0'
11+
}
12+
13+
version = libraryVersion
14+
group = 'com.theokanning.openai-gpt3-java'
15+
16+
bintray {
17+
user = System.getenv("BINTRAY_USER")
18+
key = System.getenv("BINTRAY_KEY")
19+
20+
configurations = ['archives']
21+
pkg {
22+
repo = 'openai-gpt3-java'
23+
name = 'api'
24+
vcsUrl = 'https://github.com/TheoKanning/openai-java.git'
25+
licenses = ["MIT"]
26+
publish = true
27+
version {
28+
name = libraryVersion
29+
}
30+
}
631
}

‎openai-client/build.gradle

Copy file name to clipboard
+25Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,33 @@
11
apply plugin: 'java-library'
2+
apply plugin: 'com.jfrog.bintray'
23

34
dependencies {
45
api project(":openai-api")
56
api 'com.squareup.retrofit2:retrofit:2.9.0'
67
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
78
implementation 'com.squareup.retrofit2:converter-jackson:2.9.0'
89
}
10+
11+
ext {
12+
libraryVersion = '0.1.0'
13+
}
14+
15+
version = libraryVersion
16+
group = 'com.theokanning.openai-gpt3-java'
17+
18+
bintray {
19+
user = System.getenv("BINTRAY_USER")
20+
key = System.getenv("BINTRAY_KEY")
21+
22+
configurations = ['archives']
23+
pkg {
24+
repo = 'openai-gpt3-java'
25+
name = 'client'
26+
vcsUrl = 'https://github.com/TheoKanning/openai-java.git'
27+
licenses = ["MIT"]
28+
publish = true
29+
version {
30+
name = libraryVersion
31+
}
32+
}
33+
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.