Skip to content

Commit d36819d

Browse files
authored
Merge pull request #27 from GetStream/srt-url-generator
Srt url generator
2 parents dd3f108 + fb34abc commit d36819d

File tree

145 files changed

+2488
-748
lines changed

Some content is hidden

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

145 files changed

+2488
-748
lines changed

build.gradle.kts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ dependencies {
3434

3535
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
3636

37-
// This dependency is exported to consumers, that is to say found on their compile classpath.
38-
api(libs.commons.math3)
39-
40-
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
41-
implementation(libs.guava)
42-
4337
implementation(platform("com.squareup.okhttp3:okhttp-bom:4.12.0"))
4438
implementation("com.squareup.okhttp3:okhttp")
4539
implementation("com.fasterxml.jackson.core:jackson-databind:2.18.2")
@@ -48,7 +42,7 @@ dependencies {
4842
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.12.6")
4943
runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.12.6")
5044
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.8.2")
51-
testImplementation("org.apache.commons:commons-lang3:3.12.0")
45+
testImplementation("org.apache.commons:commons-lang3:3.18.0")
5246
compileOnly("org.projectlombok:lombok:1.18.32")
5347
annotationProcessor("org.projectlombok:lombok:1.18.32")
5448
testCompileOnly("org.projectlombok:lombok:1.18.32")
@@ -68,7 +62,7 @@ tasks.named<Test>("test") {
6862

6963
doFirst {
7064
// Inject local properties into tests runtime system properties
71-
localProperties.forEach { k, v ->
65+
localProperties.forEach { (k, v) ->
7266
systemProperty(k.toString(), v.toString())
7367
}
7468
}
@@ -95,7 +89,7 @@ sourceSets {
9589

9690
spotless {
9791
java {
98-
googleJavaFormat()
92+
googleJavaFormat("1.28.0")
9993
}
10094
}
10195

gradle/libs.versions.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
# https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format
33

44
[versions]
5-
commons-math3 = "3.6.1"
6-
guava = "33.0.0-jre"
75
junit-jupiter = "5.10.2"
86

97
[libraries]
10-
commons-math3 = { module = "org.apache.commons:commons-math3", version.ref = "commons-math3" }
11-
guava = { module = "com.google.guava:guava", version.ref = "guava" }
128
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit-jupiter" }

gradle/wrapper/gradle-wrapper.jar

1.96 KB
Binary file not shown.

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.8-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@
66
*/
77

88
rootProject.name = "stream-sdk-java"
9-
include("lib")

src/main/java/io/getstream/models/AIImageConfig.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@
2222
@lombok.AllArgsConstructor
2323
public class AIImageConfig {
2424

25+
@Nullable
26+
@JsonProperty("async")
27+
private Boolean async;
28+
29+
@Nullable
2530
@JsonProperty("enabled")
2631
private Boolean enabled;
2732

33+
@Nullable
2834
@JsonProperty("ocr_rules")
2935
private List<OCRRule> ocrRules;
3036

37+
@Nullable
3138
@JsonProperty("rules")
3239
private List<AWSRekognitionRule> rules;
33-
34-
@Nullable
35-
@JsonProperty("async")
36-
private Boolean async;
3740
}

src/main/java/io/getstream/models/AITextConfig.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,23 @@
2222
@lombok.AllArgsConstructor
2323
public class AITextConfig {
2424

25+
@Nullable
26+
@JsonProperty("async")
27+
private Boolean async;
28+
29+
@Nullable
2530
@JsonProperty("enabled")
2631
private Boolean enabled;
2732

33+
@Nullable
2834
@JsonProperty("profile")
2935
private String profile;
3036

37+
@Nullable
3138
@JsonProperty("rules")
3239
private List<BodyguardRule> rules;
3340

41+
@Nullable
3442
@JsonProperty("severity_rules")
3543
private List<BodyguardSeverityRule> severityRules;
36-
37-
@Nullable
38-
@JsonProperty("async")
39-
private Boolean async;
4044
}

src/main/java/io/getstream/models/AIVideoConfig.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@
2222
@lombok.AllArgsConstructor
2323
public class AIVideoConfig {
2424

25+
@Nullable
26+
@JsonProperty("async")
27+
private Boolean async;
28+
29+
@Nullable
2530
@JsonProperty("enabled")
2631
private Boolean enabled;
2732

33+
@Nullable
2834
@JsonProperty("rules")
2935
private List<AWSRekognitionRule> rules;
30-
31-
@Nullable
32-
@JsonProperty("async")
33-
private Boolean async;
3436
}

0 commit comments

Comments
 (0)