Skip to content

Commit 7305b8a

Browse files
committed
Android release
1 parent 34ebbc8 commit 7305b8a

File tree

10 files changed

+46
-7
lines changed

10 files changed

+46
-7
lines changed

.github/workflows/android-browserstack.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@ jobs:
2727
steps:
2828
- uses: actions/checkout@v3
2929

30+
############## REMOVE AFTER RELEASE ##########################
31+
- name: Set up Java 17
32+
uses: actions/setup-java@v3
33+
with:
34+
java-version: 17
35+
distribution: 'temurin'
36+
37+
- name: Build binding
38+
run: ./gradlew assembleRelease --info
39+
working-directory: binding/android/Eagle
40+
############## REMOVE AFTER RELEASE ##########################
41+
3042
- name: Installing Python
3143
uses: actions/setup-python@v5
3244
with:
@@ -79,6 +91,18 @@ jobs:
7991
steps:
8092
- uses: actions/checkout@v3
8193

94+
############## REMOVE AFTER RELEASE ##########################
95+
- name: Set up Java 17
96+
uses: actions/setup-java@v3
97+
with:
98+
java-version: 17
99+
distribution: 'temurin'
100+
101+
- name: Build binding
102+
run: ./gradlew assembleRelease --info
103+
working-directory: binding/android/Eagle
104+
############## REMOVE AFTER RELEASE ##########################
105+
82106
- name: Installing Python
83107
uses: actions/setup-python@v5
84108
with:

.github/workflows/android-demos.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
java-version: [11, 17, 21]
23+
java-version: [17, 21]
2424
include:
25-
- java-version: 11
26-
gradle-version: 6.5
27-
agp-version: 4.1.3
2825
- java-version: 17
2926
gradle-version: 7.5
3027
agp-version: 7.4.2

.github/workflows/android-perf.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ jobs:
3535
steps:
3636
- uses: actions/checkout@v3
3737

38+
############## REMOVE AFTER RELEASE ##########################
39+
- name: Set up Java 17
40+
uses: actions/setup-java@v3
41+
with:
42+
java-version: 17
43+
distribution: 'temurin'
44+
45+
- name: Build binding
46+
run: ./gradlew assembleRelease --info
47+
working-directory: binding/android/Eagle
48+
############## REMOVE AFTER RELEASE ##########################
49+
3850
- name: Installing Python
3951
uses: actions/setup-python@v5
4052
with:

binding/android/Eagle/eagle/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ apply plugin: 'com.android.library'
22

33
ext {
44
PUBLISH_GROUP_ID = 'ai.picovoice'
5-
PUBLISH_VERSION = '1.0.0'
5+
PUBLISH_VERSION = '1.0.1'
66
PUBLISH_ARTIFACT_ID = 'eagle-android'
77
}
88

99
android {
10+
namespace 'ai.picovoice.eagle'
1011
compileSdkVersion defaultTargetSdkVersion
1112

1213
defaultConfig {

binding/android/EagleTestApp/eagle-test-app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ dependencies {
116116
implementation 'androidx.appcompat:appcompat:1.6.1'
117117
implementation 'com.google.android.material:material:1.8.0'
118118
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
119-
implementation 'ai.picovoice:eagle-android:1.0.0'
119+
implementation project(':eagle-android')
120120

121121
// Espresso UI Testing
122122
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
rootProject.name = "EagleTestApp"
22
include ':eagle-test-app'
3+
include(":eagle-android")
4+
project(":eagle-android").projectDir = file("../Eagle/eagle")

demo/android/EagleDemo/eagle-demo-app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ dependencies {
6767
implementation 'androidx.appcompat:appcompat:1.4.2'
6868
implementation 'com.google.android.material:material:1.6.1'
6969
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
70-
implementation 'ai.picovoice:eagle-android:1.0.0'
70+
implementation project(':eagle-android')
7171
implementation 'ai.picovoice:android-voice-processor:1.0.2'
7272
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
rootProject.name = "EagleDemo"
22
include ':eagle-demo-app'
3+
4+
include(":eagle-android")
5+
project(":eagle-android").projectDir = file("../../../binding/android/Eagle/eagle")
0 Bytes
Binary file not shown.

lib/android/x86_64/libpv_eagle.so

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)