Skip to content

Commit bf00b5c

Browse files
Add Kotlin Samples (#397)
* Add Basic Video-Chat Kotlin * Add samples * Upd build script * Update .test/src/test/kotlin/ProjectConsistencyTests.kt Co-authored-by: Jeff Swartz <[email protected]> * Update .test/src/test/kotlin/ProjectConsistencyTests.kt Co-authored-by: Jeff Swartz <[email protected]> * Use string templates * Use string templates * Simplify checks * Upd Archiving project Co-authored-by: Jeff Swartz <[email protected]>
1 parent 3ecb466 commit bf00b5c

File tree

712 files changed

+8427
-204
lines changed

Some content is hidden

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

712 files changed

+8427
-204
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Advanced-Audio-Driver-Java
2+
3+
on:
4+
push:
5+
branches: [main] # Just in case main was not up to date while merging PR
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
run:
11+
continue-on-error: true
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 15
23+
24+
- name: Build
25+
run: cd Advanced-Audio-Driver-Java && ./gradlew app:assembleRelease && cd ..

.github/workflows/build-multiparty-constraint-layout.yml renamed to .github/workflows/build-advanced-audio-driver-kotlin.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Multiparty-Constraint-Layout
1+
name: Build Advanced-Audio-Driver-Kotlin
22

33
on:
44
push:
@@ -22,6 +22,4 @@ jobs:
2222
java-version: 15
2323

2424
- name: Build
25-
run: cd Multiparty-Constraint-Layout && ./gradlew app:assembleRelease && cd ..
26-
27-
25+
run: cd Advanced-Audio-Driver-Kotlin && ./gradlew app:assembleRelease && cd ..

.github/workflows/build-frame-metadata.yml renamed to .github/workflows/build-archiving-java.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Frame-Metadata
1+
name: Build Archiving-Java
22

33
on:
44
push:
@@ -22,4 +22,5 @@ jobs:
2222
java-version: 15
2323

2424
- name: Build
25-
run: cd Frame-Metadata && ./gradlew app:assembleRelease && cd ..
25+
run: cd Archiving-Java && ./gradlew app:assembleRelease && cd ..
26+

.github/workflows/build-basic-video-chat.yml renamed to .github/workflows/build-archiving-kotlin.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Basic-Video-Chat
1+
name: Build Archiving-Kotlin
22

33
on:
44
push:
@@ -22,4 +22,5 @@ jobs:
2222
java-version: 15
2323

2424
- name: Build
25-
run: cd Basic-Video-Chat && ./gradlew app:assembleRelease && cd ..
25+
run: cd Archiving-Kotlin && ./gradlew app:assembleRelease && cd ..
26+

.github/workflows/build-arcore-integration.yml renamed to .github/workflows/build-arcore-integration-java.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build ARCore-Integration
1+
name: Build ARCore-Integration-Java
22

33
on:
44
push:
@@ -22,7 +22,7 @@ jobs:
2222
java-version: 15
2323

2424
- name: Build
25-
run: cd ARCore-Integration && ./gradlew app:assembleRelease && cd ..
25+
run: cd ARCore-Integration-Java && ./gradlew app:assembleRelease && cd ..
2626

2727

2828

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Basic-Audio-Driver-Java
2+
3+
on:
4+
push:
5+
branches: [main] # Just in case main was not up to date while merging PR
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
run:
11+
continue-on-error: true
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 15
23+
24+
- name: Build
25+
run: cd Basic-Audio-Driver-Java && ./gradlew app:assembleRelease && cd ..
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Basic-Audio-Driver-Kotlin
2+
3+
on:
4+
push:
5+
branches: [main] # Just in case main was not up to date while merging PR
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
run:
11+
continue-on-error: true
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 15
23+
24+
- name: Build
25+
run: cd Basic-Audio-Driver-Kotlin && ./gradlew app:assembleRelease && cd ..
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Basic-Video-Capturer-Camera-2-Java
2+
3+
on:
4+
push:
5+
branches: [main] # Just in case main was not up to date while merging PR
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
run:
11+
continue-on-error: true
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 15
23+
24+
- name: Build
25+
run: cd Basic-Video-Capturer-Camera-2-Java && ./gradlew app:assembleRelease && cd ..

.github/workflows/build-basic-video-capturer-camera-2.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/build-basic-video-capturer.yml renamed to .github/workflows/build-basic-video-capturer-java.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Basic-Video-Capturer
1+
name: Build Basic-Video-Capturer-Java
22

33
on:
44
push:
@@ -22,5 +22,5 @@ jobs:
2222
java-version: 15
2323

2424
- name: Build
25-
run: cd Basic-Video-Capturer && ./gradlew app:assembleRelease && cd ..
25+
run: cd Basic-Video-Capturer-Java && ./gradlew app:assembleRelease && cd ..
2626

.github/workflows/build-advanced-audio-driver.yml renamed to .github/workflows/build-basic-video-chat-java.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Advanced-Audio-Driver
1+
name: Build Basic-Video-Chat-Java
22

33
on:
44
push:
@@ -22,4 +22,4 @@ jobs:
2222
java-version: 15
2323

2424
- name: Build
25-
run: cd Advanced-Audio-Driver && ./gradlew app:assembleRelease && cd ..
25+
run: cd Basic-Video-Chat-Java && ./gradlew app:assembleRelease && cd ..
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Basic-Video-Chat-Kotlin
2+
3+
on:
4+
push:
5+
branches: [main] # Just in case main was not up to date while merging PR
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
run:
11+
continue-on-error: true
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 15
23+
24+
- name: Build
25+
run: cd Basic-Video-Chat-Kotlin && ./gradlew app:assembleRelease && cd ..

.github/workflows/build-phone-call-detection.yml renamed to .github/workflows/build-basic-video-driver-java.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Phone-Call-Detection
1+
name: Build Basic-Video-Driver-Java
22

33
on:
44
push:
@@ -22,6 +22,5 @@ jobs:
2222
java-version: 15
2323

2424
- name: Build
25-
run: cd Phone-Call-Detection && ./gradlew app:assembleRelease && cd ..
26-
25+
run: cd Basic-Video-Driver-Java && ./gradlew app:assembleRelease && cd ..
2726

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Basic-Video-Renderer-Java
2+
3+
on:
4+
push:
5+
branches: [main] # Just in case main was not up to date while merging PR
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
run:
11+
continue-on-error: true
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 15
23+
24+
- name: Build
25+
run: cd Basic-Video-Renderer-Java && ./gradlew app:assembleRelease && cd ..

.github/workflows/build-basic-video-renderer.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/build-basic-video-driver.yml renamed to .github/workflows/build-frame-metadata-java.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Basic-Video-Driver
1+
name: Build Frame-Metadata-Java
22

33
on:
44
push:
@@ -22,5 +22,4 @@ jobs:
2222
java-version: 15
2323

2424
- name: Build
25-
run: cd Basic-Video-Driver && ./gradlew app:assembleRelease && cd ..
26-
25+
run: cd Frame-Metadata-Java && ./gradlew app:assembleRelease && cd ..
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Live-Photo-Capture-Java
2+
3+
on:
4+
push:
5+
branches: [main] # Just in case main was not up to date while merging PR
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
run:
11+
continue-on-error: true
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 15
23+
24+
- name: Build
25+
run: cd Live-Photo-Capture-Java && ./gradlew app:assembleRelease && cd ..
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Live-Photo-Capture-Kotlin
2+
3+
on:
4+
push:
5+
branches: [main] # Just in case main was not up to date while merging PR
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
run:
11+
continue-on-error: true
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 15
23+
24+
- name: Build
25+
run: cd Live-Photo-Capture-Kotlin && ./gradlew app:assembleRelease && cd ..

.github/workflows/build-live-photo-capture.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)