build arm64 tool

hmxc
小赖 4 years ago
parent 1b9511d072
commit c0dd98fdba

@ -49,10 +49,6 @@ android {
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
ndk {
abiFilters 'arm64-v8a'
abiFilters 'armeabi-v7a'
}
manifestPlaceholders = [
JPUSH_PKGNAME : applicationId,
JPUSH_APPKEY : "6a2c6507e3e8b3187ac1c9f9",

@ -6,9 +6,15 @@ main(args) => grind(args);
test() => new TestRunner().testAsync();
@DefaultTask()
@Depends(test)
build() {
Pub.build();
buildApk() {
runAsync(
'flutter',
arguments: [
'build',
'apk',
'--target-platform=android-arm64',
],
);
}
@Task()
@ -24,7 +30,7 @@ void format() {
DartFmt.format(libDir);
}
@Task()
@Task('auto sort and format code')
@Depends(sort, format)
void git() {
log(' commit to git');

Loading…
Cancel
Save