File tree Expand file tree Collapse file tree 7 files changed +19
-15
lines changed
kotlin/org/neotech/plugin/rootcoverage
test-fixtures/multi-module
src/androidTest/java/org/neotech/app/multimoduleapplication Expand file tree Collapse file tree 7 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ https://www.jetbrains.com/help/idea/jetgradle-tool-window.html) or from the term
6060# Compatibility
6161| Version | Android Gradle plugin version | Gradle version |
6262| ------------- | ----------------------------- | -------------- |
63+ | ** develop** | 3.4 | 5.1.1+ |
6364| ** 1.1.1** | 3.3 | 4.10.1+ |
6465| ~~ ** 1.1.0** ~~ | ~~ 3.3~~ | ~~ 5+~~ |
6566| ** 1.0.2** | 3.2 | 4.6+ |
Original file line number Diff line number Diff line change 11ext {
22 projectVersion = [
33 minSdk : 19 ,
4- targetSdk : 28 ,
5- compileSdk : 28 ,
6- kotlin : " 1.3.30 "
4+ targetSdk : 29 ,
5+ compileSdk : 29 ,
6+ kotlin : " 1.3.40 "
77 ]
88 projectDependency = [
99
1010 // Gradle Plugins
1111 kotlinPlugin : " org.jetbrains.kotlin:kotlin-gradle-plugin:${ projectVersion.kotlin} " ,
12- androidGradlePlugin : " com.android.tools.build:gradle:3.3.0 " ,
12+ androidGradlePlugin : " com.android.tools.build:gradle:3.4.1 " ,
1313
1414 // Dependencies
1515 kotlinStdlibJdk7 : " org.jetbrains.kotlin:kotlin-stdlib-jdk7:${ projectVersion.kotlin} " ,
16- appCompat : " androidx.appcompat:appcompat:1.0.0 " ,
16+ appCompat : " androidx.appcompat:appcompat:1.0.2 " ,
1717
1818 // Test dependencies
1919 junit : " junit:junit:4.12" ,
20- truth : " com.google.truth:truth:0.44" ,
21- supportTestRunner : " androidx.test:runner:1.1.0" ,
22- espressoCore : " androidx.test.espresso:espresso-core:3.1.0" ,
23- commonsCsv : " org.apache.commons:commons-csv:1.6" ,
20+ truth : " com.google.truth:truth:0.45" ,
21+ supportTestRunner : " androidx.test:runner:1.1.1" ,
22+ espressoCore : " androidx.test.espresso:espresso-core:3.1.1" ,
23+ androidJUnit : " androidx.test.ext:junit:1.1.0" ,
24+ commonsCsv : " org.apache.commons:commons-csv:1.7" ,
2425 kotlinTest : " org.jetbrains.kotlin:kotlin-test:${ projectVersion.kotlin} "
2526 ]
2627
Original file line number Diff line number Diff line change 1- # Tue Jan 22 16:40:52 CET 2019
1+ # Thu Apr 25 15:55:50 CEST 2019
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-5.1 .1-all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-5.4 .1-all.zip
Original file line number Diff line number Diff line change @@ -51,8 +51,9 @@ class IntegrationTest(
5151 @JvmStatic
5252 fun parameters (): List <Array <Any >> {
5353
54- val testFixtures = File (" src/test/test-fixtures" ).listFiles().filter { it.isDirectory }
55- val gradleVersions = arrayOf(" 4.10.1" , " 5.1.1" )
54+ val testFixtures = File (" src/test/test-fixtures" ).listFiles()?.filter { it.isDirectory }
55+ ? : error(" Could not list test fixture directories" )
56+ val gradleVersions = arrayOf(" 5.1.1" , " 5.2.1" , " 5.4.1" )
5657
5758 return testFixtures.flatMap { file ->
5859 gradleVersions.map { gradleVersion ->
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ android {
3333}
3434
3535dependencies {
36-
3736 implementation project(" :library_android" )
3837
3938 implementation projectDependency. kotlinStdlibJdk7
@@ -42,4 +41,5 @@ dependencies {
4241 testImplementation projectDependency. junit
4342 androidTestImplementation projectDependency. supportTestRunner
4443 androidTestImplementation projectDependency. espressoCore
44+ androidTestImplementation projectDependency. androidJUnit
4545}
Original file line number Diff line number Diff line change 11package org.neotech.app.multimoduleapplication
22
3- import androidx.test.runner .AndroidJUnit4
3+ import androidx.test.ext.junit.runners .AndroidJUnit4
44
55import org.junit.Test
66import org.junit.runner.RunWith
Original file line number Diff line number Diff line change @@ -44,4 +44,5 @@ dependencies {
4444 testImplementation projectDependency. junit
4545 androidTestImplementation projectDependency. supportTestRunner
4646 androidTestImplementation projectDependency. espressoCore
47+ androidTestImplementation projectDependency. androidJUnit
4748}
You can’t perform that action at this time.
0 commit comments