Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Retire jcenter() in samples (android#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggfan authored Jun 29, 2021
1 parent 8eb1304 commit fa2ac54
Show file tree
Hide file tree
Showing 90 changed files with 131 additions and 130 deletions.
2 changes: 1 addition & 1 deletion audio-echo/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId 'com.google.sample.echo'
Expand Down
4 changes: 2 additions & 2 deletions audio-echo/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.2.0'
Expand All @@ -16,6 +16,6 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}
2 changes: 1 addition & 1 deletion bitmap-plasma/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig.with {
applicationId 'com.example.plasma'
Expand Down
4 changes: 2 additions & 2 deletions bitmap-plasma/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0'
Expand All @@ -12,6 +12,6 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}
3 changes: 2 additions & 1 deletion builder/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
apply plugin: 'java'

repositories {
jcenter()
google()
mavenCentral()
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion camera/basic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId 'com.sample.camera.basic'
Expand Down
2 changes: 1 addition & 1 deletion camera/texture-view/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId "com.sample.textureview"
Expand Down
4 changes: 2 additions & 2 deletions display-p3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0'
Expand All @@ -12,7 +12,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
2 changes: 1 addition & 1 deletion display-p3/image-view/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId = 'com.example.widecolor'
Expand Down
2 changes: 1 addition & 1 deletion endless-tunnel/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId 'com.google.sample.tunnel'
Expand Down
4 changes: 2 additions & 2 deletions endless-tunnel/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0'
Expand All @@ -12,6 +12,6 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}
2 changes: 1 addition & 1 deletion gles3jni/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def platformVersion = 24 // openGLES 3.2 min api level

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId 'com.android.gles3jni'
Expand Down
4 changes: 2 additions & 2 deletions gles3jni/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0'
Expand All @@ -12,6 +12,6 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}
2 changes: 1 addition & 1 deletion hello-gl2/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId 'com.android.gl2jni'
Expand Down
4 changes: 2 additions & 2 deletions hello-gl2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0'
Expand All @@ -12,6 +12,6 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}
2 changes: 1 addition & 1 deletion hello-jni/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'kotlin-android-extensions'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId 'com.example.hellojni'
Expand Down
4 changes: 2 additions & 2 deletions hello-jni/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
ext.kotlin_version = '1.3.72'
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0'
Expand All @@ -18,7 +18,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
2 changes: 1 addition & 1 deletion hello-jniCallback/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId 'com.example.hellojnicallback'
Expand Down
4 changes: 2 additions & 2 deletions hello-jniCallback/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.2.0'
Expand All @@ -16,7 +16,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
2 changes: 1 addition & 1 deletion hello-libs/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId = 'com.example.hellolibs'
Expand Down
4 changes: 2 additions & 2 deletions hello-libs/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.2.0'
Expand All @@ -16,7 +16,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
2 changes: 1 addition & 1 deletion hello-libs/gen-libs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
minSdkVersion 14
Expand Down
2 changes: 1 addition & 1 deletion hello-neon/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId "com.example.helloneon"
Expand Down
4 changes: 2 additions & 2 deletions hello-neon/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.2.0'
Expand All @@ -16,7 +16,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
2 changes: 1 addition & 1 deletion hello-oboe/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apply plugin: 'kotlin-android-extensions'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId "com.google.example.hellooboe"
Expand Down
4 changes: 2 additions & 2 deletions hello-oboe/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
ext.kotlin_version = '1.3.72'
repositories {
google()
jcenter()
mavenCentral()

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

Expand Down
2 changes: 1 addition & 1 deletion native-activity/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId = 'com.example.native_activity'
Expand Down
4 changes: 2 additions & 2 deletions native-activity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0'
Expand All @@ -12,7 +12,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
2 changes: 1 addition & 1 deletion native-audio/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId 'com.example.nativeaudio'
Expand Down
4 changes: 2 additions & 2 deletions native-audio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.0'
Expand All @@ -12,6 +12,6 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}
2 changes: 1 addition & 1 deletion native-codec/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 29
ndkVersion '21.2.6472646'
ndkVersion '22.1.7171670'

defaultConfig {
applicationId 'com.example.nativecodec'
Expand Down
Loading

0 comments on commit fa2ac54

Please sign in to comment.