-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
62 lines (51 loc) · 1.7 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
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
//plugins {
// id 'java'
//}
allprojects {
apply plugin: 'idea'
group 'cn.edu.pku'
version '1.0-SNAPSHOT'
repositories {
// speed up for developers in China
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repositories/jcenter' }
maven { url 'https://maven.aliyun.com/repositories/google' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url "https://jitpack.io" }
mavenCentral()
jcenter()
}
}
subprojects {
apply plugin: 'java'
sourceCompatibility = '11'
targetCompatibility = '11'
dependencies {
annotationProcessor 'org.atteo.classindex:classindex:3.10'
implementation 'org.atteo.classindex:classindex:3.10'
implementation('org.jgrapht:jgrapht-core:1.5.0') {
force = true
}
implementation 'org.jgrapht:jgrapht-io:1.5.0'
implementation 'commons-io:commons-io:2.8.0'
implementation 'org.neo4j.driver:neo4j-java-driver:4.2.0'
implementation 'org.slf4j:slf4j-log4j12:2.0.0-alpha2'
implementation 'org.apache.logging.log4j:log4j-core:2.17.1'
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'com.google.guava:guava:30.1-jre'
testImplementation 'org.assertj:assertj-core:3.18.1'
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.0'
}
test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
events "passed", "skipped", "failed"
}
}
}
configure(subprojects.findAll { it.name != 'core' }) {
dependencies {
implementation project(':core')
}
}