File tree Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 17
17
plugins : *common_plugins
18
18
command : |
19
19
cp gradle.properties-example gradle.properties
20
- ./gradlew lint checkstyle
20
+ ./gradlew lintRelease checkstyle
21
21
artifact_paths :
22
22
- " **/build/reports/lint-results.*"
23
23
- " **/build/reports/checkstyle/checkstyle.*"
27
27
plugins : *common_plugins
28
28
command : |
29
29
cp gradle.properties-example gradle.properties
30
- ./gradlew test
30
+ ./gradlew testRelease
31
31
32
32
- label : " Build and upload to S3"
33
33
depends_on :
Original file line number Diff line number Diff line change @@ -19,19 +19,17 @@ dependencies {
19
19
implementation " org.greenrobot:eventbus:$eventBusVersion "
20
20
21
21
implementation " androidx.core:core-ktx:$androidxCoreVersion "
22
- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$gradle . ext . kotlinVersion "
23
22
24
23
testImplementation " junit:junit:$junitVersion "
25
24
testImplementation " org.assertj:assertj-core:$assertjVersion "
26
25
testImplementation " org.robolectric:robolectric:$robolectricVersion "
27
26
testImplementation " androidx.test:core:$androidxTestCoreVersion "
28
27
29
28
lintChecks " org.wordpress:lint:$wordpressLintVersion "
29
+
30
30
androidTestImplementation " androidx.test:runner:$androidxTestCoreVersion "
31
31
androidTestImplementation " androidx.test:rules:$androidxTestCoreVersion "
32
32
androidTestImplementation " androidx.test.ext:junit:$jUnitExtVersion "
33
- androidTestImplementation " com.android.support.test.uiautomator:uiautomator-v18:$uiAutomatorVersion "
34
-
35
33
}
36
34
37
35
android {
Original file line number Diff line number Diff line change 50
50
androidxTestCoreVersion = ' 1.4.0'
51
51
assertjVersion = ' 3.11.1'
52
52
junitVersion = ' 4.12'
53
- jUnitExtVersion = ' 1.1.3'
54
53
robolectricVersion = ' 4.9'
55
- uiAutomatorVersion = ' 2.1.2'
54
+
55
+ // android test
56
+ jUnitExtVersion = ' 1.1.3'
56
57
}
Original file line number Diff line number Diff line change
1
+ # WordPress-Utils-Android properties.
2
+
1
3
android.useAndroidX=true
4
+ android.enableJetifier=false
5
+
6
+ android.nonTransitiveRClass=true
Original file line number Diff line number Diff line change 1
1
pluginManagement {
2
2
gradle. ext. kotlinVersion = ' 1.6.10'
3
3
gradle. ext. agpVersion = ' 7.2.1'
4
+ gradle. ext. automatticPublishToS3Version = ' 0.7.0'
4
5
5
6
plugins {
6
7
id " org.jetbrains.kotlin.android" version gradle. ext. kotlinVersion
7
8
id " com.android.library" version gradle. ext. agpVersion
8
- id " com.automattic.android.publish-to-s3" version " 0.7.0 "
9
+ id " com.automattic.android.publish-to-s3" version gradle . ext . automatticPublishToS3Version
9
10
}
10
11
repositories {
11
12
maven {
You can’t perform that action at this time.
0 commit comments