-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fixed bad target+mini sdk version #680
Conversation
Codecov Report
@@ Coverage Diff @@
## master #680 +/- ##
======================================
Coverage 64.4% 64.4%
======================================
Files 18 18
Lines 1826 1826
======================================
Hits 1176 1176
Misses 650 650 Continue to review full report at Codecov.
|
What issue does this PR refer to? |
I think it will help for #675, and it works for my projects |
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.
I am not so happy with the values hardcoded in several different places.
Right now the default values for the Gradle scripts are configured here:
cordova-android/bin/templates/project/build.gradle
Lines 43 to 46 in a6f30b6
defaultBuildToolsVersion="28.0.3" //String | |
defaultMinSdkVersion=19 //Integer - Minimum requirement is Android 4.4 | |
defaultTargetSdkVersion=28 //Integer - We ALWAYS target the latest by default | |
defaultCompileSdkVersion=28 //Integer - We ALWAYS compile with the latest by default |
I think it would be ideal if we could find a way to configure the default values in some kind of a Gradle properties file.
Thanks @neo5anderson for the contribution. I think PR #699 solves the issue in a more general purpose way. |
Closing out this PR as it should no longer be required with the changes of #699. |
Platforms affected
android
Motivation and Context
Description
change targetSdkVersion and minSdkVersion gen template.
Testing
test case has one failed, but I don't know why the sort fail, and I have nothing to do with that.
use
bin/create
tested, project sync fineChecklist
(platform)
if this change only applies to one platform (e.g.(android)
)