Skip to content

Commit bcffb9f

Browse files
committed
Release 0.0.0-alpha3
1 parent 802a86c commit bcffb9f

File tree

583 files changed

+131838
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

583 files changed

+131838
-2
lines changed

.fernignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Specify files that shouldn't be modified by Fern

.github/workflows/ci.yml

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: ci
2+
3+
on: [push]
4+
5+
jobs:
6+
compile:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repo
11+
uses: actions/checkout@v3
12+
13+
- name: Set up Java
14+
id: setup-jre
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: "11"
18+
architecture: x64
19+
20+
- name: Compile
21+
run: ./gradlew compileJava
22+
23+
test:
24+
needs: [ compile ]
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout repo
28+
uses: actions/checkout@v3
29+
30+
- name: Set up Java
31+
id: setup-jre
32+
uses: actions/setup-java@v1
33+
with:
34+
java-version: "11"
35+
architecture: x64
36+
37+
- name: Test
38+
run: ./gradlew test
39+
publish:
40+
needs: [ compile, test ]
41+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
42+
runs-on: ubuntu-latest
43+
44+
steps:
45+
- name: Checkout repo
46+
uses: actions/checkout@v3
47+
48+
- name: Set up Java
49+
id: setup-jre
50+
uses: actions/setup-java@v1
51+
with:
52+
java-version: "11"
53+
architecture: x64
54+
55+
- name: Publish to maven
56+
run: |
57+
./gradlew publish
58+
env:
59+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
60+
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
61+
MAVEN_PUBLISH_REGISTRY_URL: "https://s01.oss.sonatype.org/content/repositories/releases/"

.gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
*.class
2+
.project
3+
.gradle
4+
?
5+
.classpath
6+
.checkstyle
7+
.settings
8+
.node
9+
build
10+
11+
# IntelliJ
12+
*.iml
13+
*.ipr
14+
*.iws
15+
.idea/
16+
out/
17+
18+
# Eclipse/IntelliJ APT
19+
generated_src/
20+
generated_testSrc/
21+
generated/
22+
23+
bin
24+
build

README.md

-2
This file was deleted.

build.gradle

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
plugins {
2+
id 'java-library'
3+
id 'maven-publish'
4+
id 'com.diffplug.spotless' version '6.11.0'
5+
}
6+
7+
repositories {
8+
mavenCentral()
9+
maven {
10+
url 'https://s01.oss.sonatype.org/content/repositories/releases/'
11+
}
12+
}
13+
14+
dependencies {
15+
api 'com.squareup.okhttp3:okhttp:4.12.0'
16+
api 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
17+
api 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2'
18+
api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2'
19+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
20+
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
21+
}
22+
23+
24+
sourceCompatibility = 1.8
25+
targetCompatibility = 1.8
26+
27+
spotless {
28+
java {
29+
palantirJavaFormat()
30+
}
31+
}
32+
33+
java {
34+
withSourcesJar()
35+
withJavadocJar()
36+
}
37+
38+
test {
39+
useJUnitPlatform()
40+
testLogging {
41+
showStandardStreams = true
42+
}
43+
}
44+
publishing {
45+
publications {
46+
maven(MavenPublication) {
47+
groupId = 'dev.vapi'
48+
artifactId = 'vapi-java-sdk'
49+
version = '0.0.0-alpha3'
50+
from components.java
51+
pom {
52+
scm {
53+
connection = 'scm:git:git://github.com/fern-demo/vapi-java-sdk.git'
54+
developerConnection = 'scm:git:git://github.com/fern-demo/vapi-java-sdk.git'
55+
url = 'https://github.com/fern-demo/vapi-java-sdk'
56+
}
57+
}
58+
}
59+
}
60+
repositories {
61+
maven {
62+
url "$System.env.MAVEN_PUBLISH_REGISTRY_URL"
63+
credentials {
64+
username "$System.env.MAVEN_USERNAME"
65+
password "$System.env.MAVEN_PASSWORD"
66+
}
67+
}
68+
}
69+
}
70+

gradle/wrapper/gradle-wrapper.jar

42.6 KB
Binary file not shown.
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)