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
60
60
# Compatibility
61
61
| Version | Android Gradle plugin version | Gradle version |
62
62
| ------------- | ----------------------------- | -------------- |
63
+ | ** develop** | 3.4 | 5.1.1+ |
63
64
| ** 1.1.1** | 3.3 | 4.10.1+ |
64
65
| ~~ ** 1.1.0** ~~ | ~~ 3.3~~ | ~~ 5+~~ |
65
66
| ** 1.0.2** | 3.2 | 4.6+ |
Original file line number Diff line number Diff line change 1
1
ext {
2
2
projectVersion = [
3
3
minSdk : 19 ,
4
- targetSdk : 28 ,
5
- compileSdk : 28 ,
6
- kotlin : " 1.3.30 "
4
+ targetSdk : 29 ,
5
+ compileSdk : 29 ,
6
+ kotlin : " 1.3.40 "
7
7
]
8
8
projectDependency = [
9
9
10
10
// Gradle Plugins
11
11
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 " ,
13
13
14
14
// Dependencies
15
15
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 " ,
17
17
18
18
// Test dependencies
19
19
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" ,
24
25
kotlinTest : " org.jetbrains.kotlin:kotlin-test:${ projectVersion.kotlin} "
25
26
]
26
27
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
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =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(
51
51
@JvmStatic
52
52
fun parameters (): List <Array <Any >> {
53
53
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" )
56
57
57
58
return testFixtures.flatMap { file ->
58
59
gradleVersions.map { gradleVersion ->
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ android {
33
33
}
34
34
35
35
dependencies {
36
-
37
36
implementation project(" :library_android" )
38
37
39
38
implementation projectDependency. kotlinStdlibJdk7
@@ -42,4 +41,5 @@ dependencies {
42
41
testImplementation projectDependency. junit
43
42
androidTestImplementation projectDependency. supportTestRunner
44
43
androidTestImplementation projectDependency. espressoCore
44
+ androidTestImplementation projectDependency. androidJUnit
45
45
}
Original file line number Diff line number Diff line change 1
1
package org.neotech.app.multimoduleapplication
2
2
3
- import androidx.test.runner .AndroidJUnit4
3
+ import androidx.test.ext.junit.runners .AndroidJUnit4
4
4
5
5
import org.junit.Test
6
6
import org.junit.runner.RunWith
Original file line number Diff line number Diff line change @@ -44,4 +44,5 @@ dependencies {
44
44
testImplementation projectDependency. junit
45
45
androidTestImplementation projectDependency. supportTestRunner
46
46
androidTestImplementation projectDependency. espressoCore
47
+ androidTestImplementation projectDependency. androidJUnit
47
48
}
You can’t perform that action at this time.
0 commit comments