Skip to content

Commit

Permalink
v1.0 Android release (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
laves authored May 16, 2024
1 parent 1ed0f2f commit 0d22da8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 34 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/android-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ jobs:
java-version: '11'
distribution: 'temurin'

# ********* remove after release *************
- name: Build binding
run: ./gradlew assembleRelease
working-directory: binding/android/PicoLLM
# ********* remove after release *************

- name: Build
run: ./gradlew assembleDebug

Expand All @@ -57,11 +51,5 @@ jobs:
java-version: '11'
distribution: 'temurin'

# ********* remove after release *************
- name: Build binding
run: ./gradlew assembleRelease
working-directory: binding/android/PicoLLM
# ********* remove after release *************

- name: Build
run: ./gradlew assembleDebug
12 changes: 0 additions & 12 deletions .github/workflows/android-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ jobs:
steps:
- uses: actions/checkout@v3

# ********* remove after release *************
- name: Build binding
run: ./gradlew assembleRelease
working-directory: binding/android/PicoLLM
# ********* remove after release *************

- name: Uninstall previous app
run: ~/Android/Sdk/platform-tools/adb shell pm uninstall ai.picovoice.picollm.testapp || true

Expand Down Expand Up @@ -88,12 +82,6 @@ jobs:
steps:
- uses: actions/checkout@v3

# ********* remove after release *************
- name: Build binding
run: ./gradlew assembleRelease
working-directory: binding/android/PicoLLM
# ********* remove after release *************

- name: Uninstall previous app
run: ~/Android/Sdk/platform-tools/adb shell pm uninstall ai.picovoice.picollm.testapp || true

Expand Down
3 changes: 1 addition & 2 deletions binding/android/PicoLLMTestApp/picollm-test-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.code.gson:gson:2.10'

// implementation 'ai.picovoice:picollm-android:0.0.1'
implementation files('../../../../binding/android/PicoLLM/picollm/build/outputs/aar/picollm-release.aar')
implementation 'ai.picovoice:picollm-android:1.0.0'

// Espresso UI Testing
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
Expand Down
9 changes: 2 additions & 7 deletions demo/android/Chat/picollm-chat-demo/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
apply plugin: 'com.android.application'

Properties properties = new Properties()
if (rootProject.file("local.properties").exists()) {
properties.load(rootProject.file("local.properties").newDataInputStream())
}

android {
compileSdk defaultTargetSdkVersion
defaultConfig {
Expand Down Expand Up @@ -36,6 +31,6 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'com.google.code.gson:gson:2.8.9'
implementation files('../../../../binding/android/PicoLLM/picollm/build/outputs/aar/picollm-release.aar')

implementation 'ai.picovoice:picollm-android:1.0.0'
}
3 changes: 2 additions & 1 deletion demo/android/Completion/picollm-completion-demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ dependencies {
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'com.google.code.gson:gson:2.8.9'
implementation files('../../../../binding/android/PicoLLM/picollm/build/outputs/aar/picollm-release.aar')

implementation 'ai.picovoice:picollm-android:1.0.0'
}

0 comments on commit 0d22da8

Please sign in to comment.