-
Notifications
You must be signed in to change notification settings - Fork 24
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
Conversation
@@ -88,29 +88,13 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
agp_version: | |||
- '3.5.1' |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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()) { |
There was a problem hiding this comment.
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"() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missed this test :p
There was a problem hiding this 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.
Co-authored-by: satsukies <[email protected]>
Co-authored-by: satsukies <[email protected]>
Thank you for your reviews! |
ref: #152
Close #165
This change drops AGP versions lower than 4.2.0 because of the compatibility. And also, Gradle is upgraded.