-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathbuild.gradle
38 lines (32 loc) · 1.06 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
apply plugin: 'java-library'
apply plugin: 'groovy'
if (gradle.useLocal) {
apply from: 'local_upload_archive.gradle'
} else {
apply plugin: 'com.github.panpf.bintray-publish'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation gradleApi()
implementation localGroovy()
compileOnly 'com.android.tools.build:gradle:4.1.0'
compileOnly 'com.android.tools.build:gradle-api:4.1.0'
compileOnly 'org.ow2.asm:asm:8.0.1'
compileOnly 'org.ow2.asm:asm-analysis:8.0.1'
compileOnly 'org.ow2.asm:asm-commons:8.0.1'
compileOnly 'org.ow2.asm:asm-tree:8.0.1'
compileOnly 'org.ow2.asm:asm-util:8.0.1'
}
sourceCompatibility = "7"
targetCompatibility = "7"
if (!gradle.useLocal) {
publish {
userOrg = 'a10188755550'
groupId = 'com.github.jokar'
artifactId = 'multi-languages.plugin'
publishVersion = "$version"
desc = 'android multi language support (support android O+)'
website = 'https://github.com/MichaelJokAr/MultiLanguages'
}
}
//apply from: 'maven.gradle'