forked from TheoKanning/openai-java
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
58 lines (50 loc) · 1.9 KB
/
build.gradle
File metadata and controls
58 lines (50 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
plugins {
id 'maven-publish'
}
subprojects {
apply plugin: 'maven-publish'
plugins.withId('java') {
publishing {
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/launchableinc/openai-java"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
publications {
maven(MavenPublication) {
from components.java
groupId = 'com.launchableinc.openai-java'
artifactId = project.name
version = project.version
pom {
name = 'OpenAI Java Client'
description = 'Java client library for OpenAI API'
url = 'https://github.com/launchableinc/openai-java'
licenses {
license {
name = 'The MIT License'
url = 'https://www.mit.edu/~amini/LICENSE.md'
}
}
developers {
developer {
id = 'engineering'
name = 'Engineering'
}
}
scm {
connection = 'scm:git:git@github.com:launchableinc/openai-java.git'
developerConnection = 'scm:git:git@github.com:launchableinc/openai-java.git'
url = 'https://github.com/launchableinc/openai-java'
}
}
}
}
}
}
}