forked from github/cordova-android
test(check_reqs): do not hardcode DEFAULT_TARGET_API (#1263)
Should have been part of #1212
This commit is contained in:
parent
21f64806c0
commit
2037b62f99
@ -25,8 +25,9 @@ var events = require('cordova-common').events;
|
||||
var which = require('which');
|
||||
const { CordovaError } = require('cordova-common');
|
||||
|
||||
// This should match /bin/templates/project/build.gradle
|
||||
const DEFAULT_TARGET_API = 30;
|
||||
const {
|
||||
SDK_VERSION: DEFAULT_TARGET_API
|
||||
} = require('../../bin/templates/cordova/lib/gradle-config-defaults');
|
||||
|
||||
describe('check_reqs', function () {
|
||||
let check_reqs;
|
||||
|
Loading…
Reference in New Issue
Block a user