forked from pxb1988/dex2jar
/
build.gradle
36 lines (33 loc) · 1.13 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
plugins {
id "base"
id "signing"
id "io.github.gradle-nexus.publish-plugin" version "2.0.0-rc-2"
id "dex2jar.build-conventions"
}
description = 'Supermodule for dex2jar'
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
var ossrhUsername = providers.environmentVariable("OSSRH_USERNAME")
var ossrhPassword = providers.environmentVariable("OSSRH_PASSWORD")
if (ossrhUsername.present && ossrhPassword.present) {
username.set(ossrhUsername.get())
password.set(ossrhPassword.get())
}
}
}
}
dependencies {
api(project(":d2j-base-cmd"))
api project(path: ':d2j-external', configuration: 'shadow')
api(project(":d2j-jasmin"))
api(project(":d2j-smali"))
api(project(":dex-ir"))
api(project(":dex-reader"))
api(project(":dex-reader-api"))
api(project(":dex-tools"))
api(project(":dex-translator"))
api(project(":dex-writer"))
}