Skip to content

Commit

Permalink
[avatar sample] drop jcenter (#2554)
Browse files Browse the repository at this point in the history
Co-authored-by: Yulin Li <[email protected]>
  • Loading branch information
yulin-li and Yulin Li authored Aug 23, 2024
1 parent 9413f81 commit 7df9235
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
1 change: 0 additions & 1 deletion ci/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,3 @@ jobs:
continueOnError: false
- bash: ./ci/run-gradle.sh
displayName: 'Build samples (gradle)'
continueOnError: true
14 changes: 6 additions & 8 deletions samples/java/android/avatar/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ plugins {
}

android {
compileSdkVersion 33

defaultConfig {
applicationId "com.microsoft.cognitiveservices.speech.samples.talkingavatar"
minSdkVersion 23
targetSdkVersion 33
versionCode 1
versionName "1.0"
}
Expand All @@ -20,18 +17,19 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
namespace 'com.microsoft.cognitiveservices.speech.samples.talkingavatar'
compileSdk 34
}

dependencies {
// Speech SDK
implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.40.0'

implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'org.webrtc:google-webrtc:1.0.32006'
implementation 'com.dafruits:webrtc:123.0.0'
}
3 changes: 1 addition & 2 deletions samples/java/android/avatar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.5.0'
classpath 'com.android.tools.build:gradle:8.5.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -16,7 +16,6 @@ allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon May 24 15:55:47 CST 2021
#Fri Aug 23 12:55:03 CST 2024
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 7df9235

Please sign in to comment.