-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
40 lines (33 loc) · 916 Bytes
/
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
39
40
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
version = '0.18.3'
group = 'org.irmacard.credentials'
repositories {
mavenLocal()
maven {
url "https://credentials.github.io/repos/maven2/"
}
mavenCentral()
}
dependencies {
compile 'commons-codec:commons-codec:1.10'
compile 'com.google.http-client:google-http-client:1.20.0'
compile 'org.apache.commons:commons-lang3:3.7'
compile 'commons-io:commons-io:2.6'
compile 'org.bouncycastle:bcprov-jdk15on:1.58'
compile 'org.bouncycastle:bcpkix-jdk15on:1.50'
testCompile "junit:junit:4.11"
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
if ( project.hasProperty("mavenRepositoryIRMA") ) {
uploadArchives.repositories.mavenDeployer {
repository(url: mavenRepositoryIRMA)
}
}