Skip to content

Commit effc79c

Browse files
authored
Merge pull request #1853 from smartdevicelink/bugfix/issue_1852_update_gradle
Update gradle to 7.4.2
2 parents b467c07 + 4348fc6 commit effc79c

5 files changed

Lines changed: 27 additions & 12 deletions

File tree

.github/workflows/android.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: GitHub CI
33
on: [push, pull_request, workflow_dispatch]
44

55
jobs:
6-
test:
6+
test_Android:
77
runs-on: macOS-latest
88
steps:
99

@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup JDK
1616
uses: actions/setup-java@v1
1717
with:
18-
java-version: 1.8
18+
java-version: 11
1919

2020
- name: Sdl Android Tests
2121
# For more info, please check out: https://github.com/marketplace/actions/android-emulator-runner
@@ -26,6 +26,25 @@ jobs:
2626

2727
- name: Hello Sdl Android Tests
2828
run: ./android/gradlew -p ./android/hello_sdl_android test
29+
30+
- name: Codecov
31+
uses: codecov/codecov-action@v1.0.13
32+
with:
33+
yml: ./codecov.yml
34+
35+
test_Java:
36+
runs-on: macOS-latest
37+
steps:
38+
39+
- name: Checkout
40+
uses: actions/checkout@v2
41+
with:
42+
submodules: true
43+
44+
- name: Setup JDK
45+
uses: actions/setup-java@v1
46+
with:
47+
java-version: 1.8
2948

3049
- name: Sdl JavaSE Tests
3150
run: ./javaSE/gradlew -p ./javaSE/javaSE test
@@ -36,7 +55,3 @@ jobs:
3655
- name: Sdl JavaEE Tests
3756
run: ./javaEE/gradlew -p ./javaEE/javaEE test
3857

39-
- name: Codecov
40-
uses: codecov/codecov-action@v1.0.13
41-
with:
42-
yml: ./codecov.yml

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
mavenCentral()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:4.1.1'
10+
classpath 'com.android.tools.build:gradle:7.4.2'
1111

1212

1313
// NOTE: Do not place your application dependencies here; they belong

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip

android/sdl_android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ dependencies {
5555
androidTestImplementation 'org.mockito:mockito-core:3.0.0'
5656
androidTestImplementation 'org.mockito:mockito-android:3.0.0'
5757
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
58-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
59-
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.1.0'
58+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
59+
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.5.1'
6060
}
6161

6262
buildscript {

android/sdl_android/src/androidTest/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<manifest package="com.smartdevicelink"
1+
<manifest package="com.smartdevicelink.test"
22
xmlns:android="http://schemas.android.com/apk/res/android">
33

44
<uses-sdk android:minSdkVersion="16" />
@@ -16,7 +16,7 @@
1616

1717
<application android:debuggable="true">
1818
<uses-library android:name="android.test.runner" />
19-
<activity android:name=".managers.lockscreen.SDLLockScreenActivity"/>
19+
<activity android:name=".managers.lockscreen.SDLLockScreenActivity" />
2020
</application>
2121

2222
</manifest>

0 commit comments

Comments
 (0)