blob: dbb71e83e9696f2cdcb8c6657798d6a1929e557f (
plain)
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
|
allprojects {
apply plugin: 'idea'
}
ext {
bcTestDataHome = file('core/src/test/data').absolutePath
}
subprojects {
apply plugin: 'eclipse'
apply plugin: 'java'
apply plugin: 'signing'
group = 'com.madgag.spongycastle'
task javadocJar(type: Jar, dependsOn: javadoc) {
archiveClassifier = 'javadoc'
from 'build/docs/javadoc'
}
task sourcesJar(type: Jar) {
from sourceSets.main.allSource
archiveClassifier = 'sources'
}
artifacts {
archives jar
archives javadocJar
archives sourcesJar
}
if (project.hasProperty("signing.keyId")) {
signing {
sign configurations.archives
}
}
repositories {
mavenCentral()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.11'
}
sourceCompatibility = 7
targetCompatibility = 1.7
version = '1.51.0.0'
test {
systemProperty 'bc.test.data.home', bcTestDataHome
}
}
|