Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Java8 to build artifacts #164

Merged
merged 9 commits into from
Mar 13, 2023
Merged

Use Java8 to build artifacts #164

merged 9 commits into from
Mar 13, 2023

Conversation

jmatsu
Copy link
Contributor

@jmatsu jmatsu commented Mar 10, 2023

ref: #152

Close #165

This change drops AGP versions lower than 4.2.0 because of the compatibility. And also, Gradle is upgraded.

@jmatsu jmatsu changed the base branch from master to test/gradle8_testing March 10, 2023 05:33
Base automatically changed from test/gradle8_testing to master March 10, 2023 10:49
@@ -88,29 +88,13 @@ jobs:
fail-fast: false
matrix:
agp_version:
- '3.5.1'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dropped these AGP versions. They basically require Java7 binary.

@@ -2,14 +2,13 @@ apply plugin: 'com.android.application'
apply plugin: 'deploygate'

android {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the example project and remove unnecessary dependencies.

@@ -1,78 +1,129 @@
#!/usr/bin/env sh
#!/bin/sh
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revised the wrapper file.

@@ -45,30 +43,14 @@ class PackageAppTaskCompat {

@PackageScope
static boolean hasSigningConfig(packageAppTask) {
if (!AndroidGradlePlugin.isSigningConfigProviderSupported()) {
Copy link
Contributor Author

@jmatsu jmatsu Mar 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All compat methods return true so inlined them. The last branches are chosen by design.

@@ -14,4 +14,15 @@ class DeployGateTaskFactorySpec extends Specification {
"dep2" | "uploadDeployGateDep2"
"dep3Dep4" | "uploadDeployGateDep3Dep4"
}

def "uploadAabTaskName should return #taskName"() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed this test :p

@jmatsu jmatsu requested a review from satsukies March 10, 2023 12:25
@jmatsu jmatsu marked this pull request as ready for review March 10, 2023 12:25
@jmatsu jmatsu mentioned this pull request Mar 10, 2023
3 tasks
Copy link
Member

@satsukies satsukies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
It's just a nitpick, I post some comments. please check it.

@jmatsu
Copy link
Contributor Author

jmatsu commented Mar 13, 2023

Thank you for your reviews!

@jmatsu jmatsu merged commit a245449 into master Mar 13, 2023
@jmatsu jmatsu deleted the breaking/drop-java7 branch March 13, 2023 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change the target binary compatibility to 8
2 participants