-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathbuild.gradle
33 lines (29 loc) · 1.02 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
version '31.6.0'
apply plugin: 'java'
repositories {
maven { url 'https://maven.google.com' }
maven { url 'https://repo.spring.io/plugins-release/'}
mavenCentral()
}
//create a single Jar with all dependencies
task fatJar(type: Jar) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes 'Implementation-Title': 'Svg2VectorAndroid',
'Implementation-Version': version,
'Main-Class': 'com.vector.svg2vectorandroid.Runner'
}
archiveBaseName = project.name
doFirst {
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
with jar
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.11'
implementation 'com.android.tools:sdk-common:31.6.0'
implementation 'com.android.tools:common:31.6.0'
implementation 'org.jetbrains.trove4j:trove4j:20160824'
implementation 'commons-cli:commons-cli:1.4'
}