mirror of
https://github.com/apache/cordova-android.git
synced 2025-05-11 05:11:35 +08:00
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');
|
var which = require('which');
|
||||||
const { CordovaError } = require('cordova-common');
|
const { CordovaError } = require('cordova-common');
|
||||||
|
|
||||||
// This should match /bin/templates/project/build.gradle
|
const {
|
||||||
const DEFAULT_TARGET_API = 30;
|
SDK_VERSION: DEFAULT_TARGET_API
|
||||||
|
} = require('../../bin/templates/cordova/lib/gradle-config-defaults');
|
||||||
|
|
||||||
describe('check_reqs', function () {
|
describe('check_reqs', function () {
|
||||||
let check_reqs;
|
let check_reqs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user