2014-12-25 19:21:30 +01:00
|
|
|
/**
|
2019-07-13 18:19:41 +02:00
|
|
|
* Copyright (C) 2019 Ryszard Wiśniewski <brut.alll@gmail.com>
|
|
|
|
* Copyright (C) 2019 Connor Tumbleson <connor.tumbleson@gmail.com>
|
2014-11-02 03:07:02 +01:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
2014-12-25 19:21:30 +01:00
|
|
|
package brut.androlib;
|
2014-11-02 03:07:02 +01:00
|
|
|
|
2015-08-14 17:52:33 +02:00
|
|
|
import java.util.Collection;
|
|
|
|
|
2014-11-02 03:07:02 +01:00
|
|
|
public class ApkOptions {
|
|
|
|
public boolean forceBuildAll = false;
|
2015-04-19 17:29:28 +02:00
|
|
|
public boolean forceDeleteFramework = false;
|
2016-04-18 00:05:39 +02:00
|
|
|
public boolean debugMode = false;
|
2014-11-02 03:07:02 +01:00
|
|
|
public boolean verbose = false;
|
|
|
|
public boolean copyOriginalFiles = false;
|
|
|
|
public boolean updateFiles = false;
|
|
|
|
public boolean isFramework = false;
|
|
|
|
public boolean resourcesAreCompressed = false;
|
2018-02-16 00:04:47 +01:00
|
|
|
public boolean useAapt2 = false;
|
2018-07-24 05:54:37 +02:00
|
|
|
public boolean noCrunch = false;
|
2019-01-31 13:18:14 +01:00
|
|
|
public int forceApi = 0;
|
2015-08-14 17:52:33 +02:00
|
|
|
public Collection<String> doNotCompress;
|
2014-11-02 03:07:02 +01:00
|
|
|
|
|
|
|
public String frameworkFolderLocation = null;
|
|
|
|
public String frameworkTag = null;
|
|
|
|
public String aaptPath = "";
|
2018-02-16 00:04:47 +01:00
|
|
|
|
|
|
|
public int aaptVersion = 1; // default to v1
|
|
|
|
|
|
|
|
public boolean isAapt2() {
|
|
|
|
return this.useAapt2 || this.aaptVersion == 2;
|
|
|
|
}
|
2014-11-02 03:07:02 +01:00
|
|
|
}
|