diff --git a/demo/java/build.gradle b/demo/java/build.gradle index 3e19bfff..01ec8e72 100644 --- a/demo/java/build.gradle +++ b/demo/java/build.gradle @@ -4,6 +4,9 @@ plugins { repositories { mavenCentral() + maven { + url 'https://s01.oss.sonatype.org/content/repositories/aipicovoice-1300' + } } sourceSets { @@ -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" @@ -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"