-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
481 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ bin/ | |
# IntelliJ | ||
*.iml | ||
.idea/* | ||
/out | ||
**/out/ | ||
|
||
# Patches | ||
*.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,35 @@ | ||
env: | ||
- TERM=dumb GROOVY_TURN_OFF_JAVA_WARNINGS=true | ||
global: | ||
- TERM=dumb | ||
- GROOVY_TURN_OFF_JAVA_WARNINGS=true | ||
|
||
language: java | ||
|
||
dist: trusty | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
jdk: openjdk8 | ||
# - os: linux | ||
# jdk: openjdk9 | ||
- os: linux | ||
jdk: oraclejdk8 | ||
# - os: linux | ||
# jdk: oraclejdk9 | ||
- os: osx | ||
osx_image: xcode9.2 | ||
# - os: osx | ||
# osx_image: xcode9.4 | ||
- os: windows | ||
language: shell | ||
cache: | ||
directories: | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
install: ./gradlew clean | ||
script: ./gradlew build shadowJar proguard | ||
|
||
install: | ||
- chmod +x ./scripts/travis-ci/clean-tests.sh | ||
- ./scripts/travis-ci/clean-tests.sh | ||
|
||
script: | ||
- chmod +x ./scripts/travis-ci/run-tests.sh | ||
- ./scripts/travis-ci/run-tests.sh | ||
|
||
branches: | ||
only: | ||
- master | ||
- stable | ||
- master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
brut.apktool/apktool-lib/src/main/java/brut/androlib/err/AXmlDecodingException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/** | ||
* Copyright (C) 2018 Ryszard Wiśniewski <[email protected]> | ||
* Copyright (C) 2018 Connor Tumbleson <[email protected]> | ||
* | ||
* 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. | ||
*/ | ||
package brut.androlib.err; | ||
|
||
import brut.androlib.AndrolibException; | ||
|
||
public class AXmlDecodingException extends AndrolibException { | ||
|
||
public AXmlDecodingException(Throwable cause) { | ||
super(cause); | ||
} | ||
|
||
public AXmlDecodingException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
public AXmlDecodingException(String message) { | ||
super(message); | ||
} | ||
|
||
public AXmlDecodingException() { | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
brut.apktool/apktool-lib/src/main/java/brut/androlib/err/RawXmlEncounteredException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/** | ||
* Copyright (C) 2018 Ryszard Wiśniewski <[email protected]> | ||
* Copyright (C) 2018 Connor Tumbleson <[email protected]> | ||
* | ||
* 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. | ||
*/ | ||
package brut.androlib.err; | ||
|
||
import brut.androlib.AndrolibException; | ||
|
||
public class RawXmlEncounteredException extends AndrolibException { | ||
|
||
public RawXmlEncounteredException(Throwable cause) { | ||
super(cause); | ||
} | ||
|
||
public RawXmlEncounteredException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
public RawXmlEncounteredException(String message) { | ||
super(message); | ||
} | ||
|
||
public RawXmlEncounteredException() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,11 @@ | |
* @author Ryszard Wiśniewski <[email protected]> | ||
*/ | ||
public final class ResTypeSpec { | ||
|
||
public static final String RES_TYPE_NAME_ARRAY = "array"; | ||
public static final String RES_TYPE_NAME_PLURALS = "plurals"; | ||
public static final String RES_TYPE_NAME_STYLES = "style"; | ||
|
||
private final String mName; | ||
private final Map<String, ResResSpec> mResSpecs = new LinkedHashMap<String, ResResSpec>(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.