Skip to content

Commit

Permalink
demo
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Nov 22, 2023
1 parent 5491698 commit 0df3950
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions demo/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ plugins {

repositories {
mavenCentral()
maven {
url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1300'
}
}

sourceSets {
Expand All @@ -15,14 +18,14 @@ sourceSets {
}

dependencies {
implementation 'ai.picovoice:cheetah-java:1.1.1'
implementation 'ai.picovoice:cheetah-java:2.0.0'
implementation 'commons-cli:commons-cli:1.4'
}

jar {
manifest {
attributes "Main-Class": "ai.picovoice.cheetahdemo.MicDemo",
"Class-Path": "cheetah-1.1.1.jar;commons-cli-1.4.jar"
"Class-Path": "cheetah-2.0.0.jar;commons-cli-1.4.jar"
}
from sourceSets.main.output
exclude "**/FileDemo.class"
Expand All @@ -33,7 +36,7 @@ jar {
task fileDemoJar(type: Jar) {
manifest {
attributes "Main-Class": "ai.picovoice.cheetahdemo.FileDemo",
"Class-Path": "cheetah-1.1.1.jar;commons-cli-1.4.jar"
"Class-Path": "cheetah-2.0.0.jar;commons-cli-1.4.jar"
}
from sourceSets.main.output
exclude "**/MicDemo.class"
Expand Down

0 comments on commit 0df3950

Please sign in to comment.