Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.
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
6 changes: 3 additions & 3 deletions AndroidTestingBlueprint-kotlinApp/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ android {
dependencies {
// App's dependencies, including test
implementation "com.android.support:appcompat-v7:$rootProject.ext.supportLibVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlinVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"

implementation project(':module-plain-kotlin') // Optional module for non-Android code
implementation project(':module-android-library') // Optional module for additional Android code

// Dependencies for local unit tests
testImplementation "junit:junit:$rootProject.ext.junitVersion"
testImplementation "org.mockito:mockito-all:$rootProject.ext.mockitoVersion"
testImplementation "org.mockito:mockito-core:$rootProject.ext.mockitoVersion"
testImplementation "org.hamcrest:hamcrest-all:$rootProject.ext.hamcrestVersion"

// Android Testing Support Library's runner and rules
Expand All @@ -103,4 +103,4 @@ dependencies {
// Resolve conflicts between main and test APK:
androidTestImplementation "com.android.support:support-annotations:$rootProject.supportLibVersion"

}
}
23 changes: 13 additions & 10 deletions AndroidTestingBlueprint-kotlinApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,29 @@
buildscript {
ext {
minSdkVersion = 14
targetSdkVersion = 27
compileSdkVersion = 27
targetSdkVersion = 28
compileSdkVersion = 28

kotlinVersion = "1.2.0"
supportLibVersion = "27.0.2"
gradleVersion = "3.3.2"
kotlinVersion = "1.3.21"
supportLibVersion = "28.0.0"
junitVersion = "4.12"
mockitoVersion = "1.10.19"
mockitoVersion = "2.25.1"
hamcrestVersion = "1.3"
runnerVersion = "0.5"
rulesVersion = "0.5"
espressoVersion = "2.2.2"
runnerVersion = "1.0.2"
rulesVersion = "1.0.2"
espressoVersion = "3.0.0"
uiautomatorVersion = "2.1.2"
}

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

dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "com.android.tools.build:gradle:$gradleVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"

// NOTE: Do not place your application dependencies here; they belong
Expand All @@ -34,6 +36,7 @@ buildscript {
allprojects {
repositories {
jcenter()
mavenCentral()
google()
}
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Tue Dec 06 13:05:10 GMT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3.1-all.zip
78 changes: 43 additions & 35 deletions AndroidTestingBlueprint-kotlinApp/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

174 changes: 84 additions & 90 deletions AndroidTestingBlueprint-kotlinApp/gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading