-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (38 loc) · 1.04 KB
/
build.gradle
File metadata and controls
43 lines (38 loc) · 1.04 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
version='1.0.0'
apply plugin: 'java'
apply plugin: 'maven-publish'
repositories {
mavenCentral()
maven { url "${OBP2ReadOnlyMavenRepository}" }
}
compileJava.options.encoding = 'UTF-8'
sourceSets {
main {
java { srcDir 'src' }
resources { srcDir 'resources'}
}
test {
java { srcDir 'tests/src' }
resources { srcDir 'tests/resources'}
}
}
publishing {
repositories {
maven {
// change to point to your repo, e.g. http://my.org/repo
url = "${OBP2PublishMavenRepository}"
}
}
publications {
jar(MavenPublication) {
groupId = 'fr.ensta-bretagne'
from components.java
}
}
}
dependencies {
compile group: 'fr.ensta-bretagne', name: 'obp2-runtime', version: '1.0.0'
testCompile group: 'fr.ensta-bretagne', name: 'LPropositionalLogic', version: '1.0.0'
testCompile group: 'fr.ensta-bretagne', name: 'obp2-algorithms', version: '1.0.0'
testCompile group: 'junit', name: 'junit', version: '4.7'
}