-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
65 lines (53 loc) · 1.58 KB
/
build.gradle
File metadata and controls
65 lines (53 loc) · 1.58 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
* multidexlib2 - Copyright 2015-2020 Rodrigo Balerdi
* (GNU General Public License version 3 or later)
*
* multidexlib2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation, either version 3 of the License,
* or (at your option) any later version.
*/
plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
}
// https://github.com/google/smali/issues/100
def dexlib2Version = 'b6365a84f4'
group = 'app.morphe'
version = dexlib2Version
ext.mainArtifact = 'multidexlib2'
ext.artifactName = mainArtifact
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenCentral()
// Obtain baksmali/smali from source builds - https://github.com/iBotPeaches/smali
// Remove when official smali releases come out again.
maven {
url = uri("https://jitpack.io")
content {
includeGroup("com.github.iBotPeaches.smali")
}
}
}
dependencies {
api 'com.github.iBotPeaches.smali:smali-dexlib2:' + dexlib2Version
api 'com.google.guava:guava:33.5.0-jre'
}
apply from: 'configure-artifacts.gradle'
apply from: 'configure-publishing.gradle'
publishing {
publications {
gpr(MavenPublication) {
artifactId = mainArtifact
from components.java
pom {
name = artifactName
configurePom it
}
}
}
}
apply from: 'check-copyright.gradle'
wrapper.distributionType = Wrapper.DistributionType.ALL