[go: nahoru, domu]

Skip to content

Commit

Permalink
Replace all jcenter with maven central.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 370869086
  • Loading branch information
xunkai55 authored and Copybara-Service committed Apr 28, 2021
1 parent 68ebcb6 commit 94bf97a
Show file tree
Hide file tree
Showing 22 changed files with 122 additions and 43 deletions.
8 changes: 6 additions & 2 deletions lite/codelabs/digit_classifier/android/finish/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
ext.kotlin_version = '1.3.31'
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -17,7 +17,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
maven { url 'https://jitpack.io' }
}
}
Expand Down
8 changes: 6 additions & 2 deletions lite/codelabs/digit_classifier/android/start/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
ext.kotlin_version = '1.3.31'
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -17,7 +17,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
maven { url 'https://jitpack.io' }
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {

repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -17,7 +17,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {

repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -17,7 +17,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
8 changes: 6 additions & 2 deletions lite/examples/bert_qa/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -16,7 +16,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
8 changes: 6 additions & 2 deletions lite/examples/digit_classifier/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
ext.kotlin_version = '1.3.31'
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -18,7 +18,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
maven { url 'https://jitpack.io' }
}
}
Expand Down
8 changes: 6 additions & 2 deletions lite/examples/gesture_classification/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -15,7 +15,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
8 changes: 6 additions & 2 deletions lite/examples/image_classification/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {

repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -17,7 +17,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
8 changes: 6 additions & 2 deletions lite/examples/image_segmentation/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -17,7 +17,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
8 changes: 6 additions & 2 deletions lite/examples/model_personalization/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()

}
dependencies {
Expand All @@ -16,7 +16,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
8 changes: 6 additions & 2 deletions lite/examples/object_detection/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
mavenLocal()
}
dependencies {
Expand All @@ -17,7 +17,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
mavenLocal()
}
}
Expand Down
9 changes: 6 additions & 3 deletions lite/examples/posenet/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
ext.kotlin_version = '1.3.41'
repositories {
google()
jcenter()
mavenCentral()

}
dependencies {
Expand All @@ -18,8 +18,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()

mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
8 changes: 6 additions & 2 deletions lite/examples/recommendation/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -16,7 +16,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
6 changes: 5 additions & 1 deletion lite/examples/smart_reply/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ android {
}

repositories {
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
flatDir {
dirs 'libs'
}
Expand Down
8 changes: 6 additions & 2 deletions lite/examples/smart_reply/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {

repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -16,7 +16,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions lite/examples/sound_classification/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ dependencies {

implementation "org.tensorflow:tensorflow-lite:2.3.0"
implementation "org.tensorflow:tensorflow-lite-select-tf-ops:2.3.0"
implementation "org.tensorflow:tensorflow-lite-support:0.1.0-rc1"
implementation "org.tensorflow:tensorflow-lite-metadata:0.1.0-rc2"
implementation "org.tensorflow:tensorflow-lite-support:0.1.0"
implementation "org.tensorflow:tensorflow-lite-metadata:0.1.0"

testImplementation "junit:junit:4.13"
androidTestImplementation "androidx.test.ext:junit:1.1.2"
Expand Down
8 changes: 6 additions & 2 deletions lite/examples/sound_classification/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
Expand All @@ -17,7 +17,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
8 changes: 6 additions & 2 deletions lite/examples/speech_commands/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {

repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
Expand All @@ -17,7 +17,11 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
name 'ossrh-snapshot'
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion lite/examples/style_transfer/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ dependencies {
def camerax_version = "1.0.0-alpha02"
def lifecycle_version = "2.1.0-alpha02"
def coroutines_version = "1.1.1"
def tfl_version = "0.0.0-nightly"
def tfl_version = "0.0.0-nightly-SNAPSHOT"
def glide_version = "4.9.0"

implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
Expand Down
Loading

0 comments on commit 94bf97a

Please sign in to comment.