Debian Codegraph @

brut.apktool/apktool-lib/build.gradle

raw
1 /**
2 * Copyright 2014 Ryszard Wiśniewski <[email protected]>
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 import org.apache.tools.ant.filters.*
17
18 apply plugin: 'java-library'
19
20 processResources {
21 from('src/main/resources/properties') {
22 include '**/*.properties'
23 into 'properties'
24 filter(ReplaceTokens, tokens: [version: project.apktool_version, gitrev: project.hash] )
25 duplicatesStrategy = DuplicatesStrategy.INCLUDE
26 }
27 from('src/main/resources/') {
28 include '**/*.jar'
29 duplicatesStrategy = DuplicatesStrategy.INCLUDE
30 }
31
32 includeEmptyDirs = false
33 }
34
35 dependencies {
36 api project(':brut.j.dir')
37 api project(':brut.j.util')
38 api project(':brut.j.common')
39
40 implementation depends.baksmali
41 implementation depends.smali
42 implementation depends.snakeyaml
43 implementation depends.xmlpull
44 implementation depends.guava
45 implementation depends.commons_lang
46 implementation depends.commons_io
47 implementation depends.commons_text
48
49 testImplementation depends.junit
50 testImplementation depends.xmlunit
51 }