Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 14e33ae

Browse files
committed
SDK regeneration
1 parent 9f73332 commit 14e33ae

File tree

9 files changed

+40
-23
lines changed

9 files changed

+40
-23
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Publish to maven
5656
run: |
57-
./gradlew publish
57+
./gradlew publish
5858
env:
5959
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
6060
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}

build.gradle

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,31 +25,62 @@ dependencies {
2525
sourceCompatibility = 1.8
2626
targetCompatibility = 1.8
2727

28+
tasks.withType(Javadoc) {
29+
failOnError false
30+
options.addStringOption('Xdoclint:none', '-quiet')
31+
}
32+
2833
spotless {
2934
java {
3035
palantirJavaFormat()
3136
}
3237
}
3338

39+
3440
java {
3541
withSourcesJar()
3642
withJavadocJar()
3743
}
3844

45+
46+
group = 'com.assemblyai'
47+
48+
version = '4.0.1'
49+
50+
jar {
51+
dependsOn(":generatePomFileForMavenPublication")
52+
archiveBaseName = "assemblyai-java"
53+
}
54+
55+
sourcesJar {
56+
archiveBaseName = "assemblyai-java"
57+
}
58+
59+
javadocJar {
60+
archiveBaseName = "assemblyai-java"
61+
}
62+
3963
test {
4064
useJUnitPlatform()
4165
testLogging {
4266
showStandardStreams = true
4367
}
4468
}
69+
4570
publishing {
4671
publications {
4772
maven(MavenPublication) {
4873
groupId = 'com.assemblyai'
4974
artifactId = 'assemblyai-java'
50-
version = '4.0.0'
75+
version = '4.0.1'
5176
from components.java
5277
pom {
78+
licenses {
79+
license {
80+
name = 'The MIT License (MIT)'
81+
url = 'https://mit-license.org/'
82+
}
83+
}
5384
scm {
5485
connection = 'scm:git:git://github.com/AssemblyAI/assemblyai-java-sdk.git'
5586
developerConnection = 'scm:git:git://github.com/AssemblyAI/assemblyai-java-sdk.git'

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

settings.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
rootProject.name = 'assemblyai-java'
2+
13
include 'sample-app'

src/main/java/com/assemblyai/api/resources/lemur/types/LemurActionItemsResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
@JsonInclude(JsonInclude.Include.NON_ABSENT)
2020
@JsonDeserialize(builder = LemurActionItemsResponse.Builder.class)
21-
public final class LemurActionItemsResponse implements ILemurStringResponse {
21+
public final class LemurActionItemsResponse implements ILemurStringResponse, ILemurBaseResponse {
2222
private final String response;
2323

2424
private final String requestId;

src/main/java/com/assemblyai/api/resources/lemur/types/LemurSummaryResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
@JsonInclude(JsonInclude.Include.NON_ABSENT)
2020
@JsonDeserialize(builder = LemurSummaryResponse.Builder.class)
21-
public final class LemurSummaryResponse implements ILemurStringResponse {
21+
public final class LemurSummaryResponse implements ILemurStringResponse, ILemurBaseResponse {
2222
private final String response;
2323

2424
private final String requestId;

src/main/java/com/assemblyai/api/resources/lemur/types/LemurTaskResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
@JsonInclude(JsonInclude.Include.NON_ABSENT)
2020
@JsonDeserialize(builder = LemurTaskResponse.Builder.class)
21-
public final class LemurTaskResponse implements ILemurStringResponse {
21+
public final class LemurTaskResponse implements ILemurStringResponse, ILemurBaseResponse {
2222
private final String response;
2323

2424
private final String requestId;

src/main/java/com/assemblyai/api/resources/transcripts/TranscriptsClient.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -342,14 +342,6 @@ public Transcript delete(String transcriptId, RequestOptions requestOptions) {
342342
}
343343
}
344344

345-
/**
346-
* Export your transcript in SRT or VTT format to use with a video player for subtitles and closed captions.
347-
*/
348-
public String getSubtitles(String transcriptId, SubtitleFormat subtitleFormat) {
349-
return getSubtitles(
350-
transcriptId, subtitleFormat, GetSubtitlesParams.builder().build());
351-
}
352-
353345
/**
354346
* Export your transcript in SRT or VTT format to use with a video player for subtitles and closed captions.
355347
*/
@@ -558,13 +550,6 @@ public ParagraphsResponse getParagraphs(String transcriptId, RequestOptions requ
558550
}
559551
}
560552

561-
/**
562-
* Search through the transcript for keywords. You can search for individual words, numbers, or phrases containing up to five words or numbers.
563-
*/
564-
public WordSearchResponse wordSearch(String transcriptId) {
565-
return wordSearch(transcriptId, WordSearchParams.builder().build());
566-
}
567-
568553
/**
569554
* Search through the transcript for keywords. You can search for individual words, numbers, or phrases containing up to five words or numbers.
570555
*/

0 commit comments

Comments
 (0)