Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to new androidx.test artifacts. #488

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion integration/ServiceTestRuleSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ android {
compileSdk 33
defaultConfig {
applicationId "com.example.android.testing.integrationtesting.ServiceTestRuleSample"
minSdkVersion 14
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
8 changes: 5 additions & 3 deletions integration/ServiceTestRuleSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ buildscript {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
dependencies {
classpath "com.android.tools.build:gradle:$agpVersion"
Expand All @@ -19,12 +20,13 @@ allprojects {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
}

ext {
coreVersion = "1.6.0-alpha01"
coreVersion = "1.6.0-alpha02"
extJUnitVersion = "1.2.0-alpha01"
runnerVersion = "1.6.0-alpha03"
rulesVersion = "1.6.0-alpha01"
Expand Down
2 changes: 1 addition & 1 deletion runner/AndroidJunitRunnerSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ android {
compileSdk 33
defaultConfig {
applicationId "com.example.android.testing.androidjunitrunnersample"
minSdkVersion 14
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
8 changes: 5 additions & 3 deletions runner/AndroidJunitRunnerSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ buildscript {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
dependencies {
classpath "com.android.tools.build:gradle:$agpVersion"
Expand All @@ -19,15 +20,16 @@ allprojects {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
}

ext {
buildToolsVersion = "32.0.0"
androidxAnnotationVersion = "1.5.0"
guavaVersion = "31.1-android"
coreVersion = "1.6.0-alpha01"
coreVersion = "1.6.0-alpha02"
extJUnitVersion = "1.2.0-alpha01"
runnerVersion = "1.6.0-alpha03"
rulesVersion = "1.6.0-alpha01"
Expand Down
2 changes: 1 addition & 1 deletion runner/AndroidTestOrchestratorSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ android {
compileSdk 33
defaultConfig {
applicationId "com.example.android.testing.androidtestorchestratorsample"
minSdkVersion 14
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
10 changes: 6 additions & 4 deletions runner/AndroidTestOrchestratorSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ buildscript {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
dependencies {
classpath "com.android.tools.build:gradle:$agpVersion"
Expand All @@ -19,17 +20,18 @@ allprojects {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
}

ext {
androidxAnnotationVersion = "1.5.0"
guavaVersion = "31.1-android"
coreVersion = "1.6.0-alpha01"
coreVersion = "1.6.0-alpha02"
extJUnitVersion = "1.2.0-alpha01"
runnerVersion = "1.6.0-alpha03"
monitorVersion = "1.7.0-alpha01"
monitorVersion = "1.7.0-alpha02"
rulesVersion = "1.6.0-alpha01"
espressoVersion = "3.6.0-alpha01"
orchestratorVersion = "1.5.0-alpha01"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ android {
compileSdk 33
defaultConfig {
applicationId "com.example.android.testing.androidtestorchestratorsample"
minSdkVersion 14
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ buildscript {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
dependencies {
classpath "com.android.tools.build:gradle:$agpVersion"
Expand All @@ -19,14 +20,15 @@ allprojects {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
}

ext {
androidxAnnotationVersion = "1.2.0"
guavaVersion = "30.1.1-android"
coreVersion = "1.6.0-alpha01"
coreVersion = "1.6.0-alpha02"
extJUnitVersion = "1.2.0-alpha01"
runnerVersion = "1.6.0-alpha03"
rulesVersion = "1.6.0-alpha01"
Expand Down
2 changes: 1 addition & 1 deletion ui/espresso/AccessibilitySample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ android {
compileSdk 33
defaultConfig {
applicationId "com.example.android.testing.espresso.AccessibilitySample"
minSdkVersion 14
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
8 changes: 5 additions & 3 deletions ui/espresso/AccessibilitySample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ buildscript {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
dependencies {
classpath "com.android.tools.build:gradle:$agpVersion"
Expand All @@ -21,15 +22,16 @@ allprojects {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
}

ext {
androidxAnnotationVersion = "1.5.0"
robolectricVersion = "4.10.3"
extTruthVersion = "1.6.0-alpha01"
coreVersion = "1.6.0-alpha01"
coreVersion = "1.6.0-alpha02"
extJUnitVersion = "1.2.0-alpha01"
runnerVersion = "1.6.0-alpha03"
espressoVersion = "3.6.0-alpha01"
Expand Down
2 changes: 1 addition & 1 deletion ui/espresso/BasicSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ android {
compileSdk 33
defaultConfig {
applicationId "com.example.android.testing.espresso.BasicSample"
minSdkVersion 14
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
8 changes: 5 additions & 3 deletions ui/espresso/BasicSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ buildscript {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
dependencies {
classpath "com.android.tools.build:gradle:$agpVersion"
Expand All @@ -21,7 +22,8 @@ allprojects {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
}

Expand All @@ -30,7 +32,7 @@ ext {
robolectricVersion = "4.10.3"
guavaVersion = "31.1-android"
extTruthVersion = "1.6.0-alpha01"
coreVersion = "1.6.0-alpha01"
coreVersion = "1.6.0-alpha02"
extJUnitVersion = "1.2.0-alpha01"
runnerVersion = "1.6.0-alpha03"
espressoVersion = "3.6.0-alpha01"
Expand Down
2 changes: 1 addition & 1 deletion ui/espresso/CustomMatcherSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ android {
compileSdk 33
defaultConfig {
applicationId "com.example.android.testing.espresso.CustomMatcherSample"
minSdkVersion 14
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
8 changes: 5 additions & 3 deletions ui/espresso/CustomMatcherSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ buildscript {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
dependencies {
classpath "com.android.tools.build:gradle:$agpVersion"
Expand All @@ -19,14 +20,15 @@ allprojects {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
}

ext {
androidxAnnotationVersion = "1.5.0"
guavaVersion = "31.1-android"
coreVersion = "1.6.0-alpha01"
coreVersion = "1.6.0-alpha02"
extJUnitVersion = "1.2.0-alpha01"
runnerVersion = "1.6.0-alpha03"
rulesVersion = "1.6.0-alpha01"
Expand Down
2 changes: 1 addition & 1 deletion ui/espresso/DataAdapterSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ android {
compileSdk 33
defaultConfig {
applicationId "com.example.android.testing.espresso.DataAdapterSample"
minSdkVersion 14
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
8 changes: 5 additions & 3 deletions ui/espresso/DataAdapterSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ buildscript {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
dependencies {
classpath "com.android.tools.build:gradle:$agpVersion"
Expand All @@ -19,14 +20,15 @@ allprojects {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
}

ext {
androidxAnnotationVersion = "1.5.0"
guavaVersion = "31.1-android"
coreVersion = "1.6.0-alpha01"
coreVersion = "1.6.0-alpha02"
extJUnitVersion = "1.2.0-alpha01"
runnerVersion = "1.6.0-alpha03"
espressoVersion = "3.6.0-alpha01"
Expand Down
2 changes: 1 addition & 1 deletion ui/espresso/EspressoDeviceSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ android {
compileSdk 33
defaultConfig {
applicationId "com.example.android.testing.espresso.EspressoDeviceSample"
minSdkVersion 14
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
8 changes: 5 additions & 3 deletions ui/espresso/EspressoDeviceSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ buildscript {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
dependencies {
classpath "com.android.tools.build:gradle:$agpVersion"
Expand All @@ -21,13 +22,14 @@ allprojects {
repositories {
// Insert local test repo here
google()
mavenCentral()
mavenCentral()
mavenLocal()
}
}

ext {
robolectricVersion = "4.10.3"
extTruthVersion = "1.6.0-alpha01"
extJUnitVersion = "1.2.0-alpha01"
espressoDeviceVersion = "1.0.0-alpha01"
espressoDeviceVersion = "1.0.0-alpha05"
}
2 changes: 1 addition & 1 deletion ui/espresso/FragmentScenarioSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ android {
compileSdk 33
defaultConfig {
applicationId "com.example.android.testing.espresso.FragmentScenarioSample"
minSdkVersion 15
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
10 changes: 6 additions & 4 deletions ui/espresso/FragmentScenarioSample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlinVersion = "1.7.10"
ext.kotlinVersion = "1.8.20"
ext.agpVersion = "8.1.1"
repositories {
google()
mavenCentral()
mavenCentral()
mavenLocal()

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

}
}
Expand All @@ -31,7 +33,7 @@ ext {
androidxCoreVersion = "1.9.0"
androidxCompatVersion = "1.5.1"
androidxFragmentVersion = "1.5.3"
coreVersion = "1.6.0-alpha01"
coreVersion = "1.6.0-alpha02"
extJUnitVersion = "1.2.0-alpha01"
runnerVersion = "1.6.0-alpha03"
rulesVersion = "1.6.0-alpha01"
Expand Down
2 changes: 1 addition & 1 deletion ui/espresso/IdlingResourceSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ android {

defaultConfig {
applicationId "com.example.android.testing.espresso.IdlingResourceSample"
minSdkVersion 14
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
Loading