-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (44 loc) · 1.12 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
apply plugin: 'java'
apply plugin: 'maven'
//apply plugin: 'maven-publish'
version '1.0'
group 'de.ismll'
repositories {
mavenCentral()
maven {
credentials {
username maven_username
password maven_password
}
url "http://172.16.102.236/maven2repoGradle"
}
}
sourceSets.main.java.srcDir "src/java"
sourceSets.test.java.srcDir "src/tests/java"
dependencies {
compile 'log4j:log4j:1.2.14'
compile 'nz.ac.waikato.cms.weka:weka-dev:3.7.12'
compile 'commons-dbcp:commons-dbcp:1.4'
compile 'postgresql:postgresql:8.4-702.jdbc4'
compile 'de.ismll:bootstrap:1.1.6-SNAPSHOT'
testCompile 'junit:junit:4.8.2'
}
configurations {
deployerJars
}
dependencies {
// deployerJars "org.apache.maven.wagon:wagon-webdav:1.0-beta-2"
deployerJars "org.apache.maven.wagon:wagon-webdav-jackrabbit:2.9"
}
uploadArchives {
repositories {
mavenDeployer {
configuration = configurations.deployerJars
repository(url: "dav:http://172.16.102.236/maven2repoGradle/") {
authentication(
userName: maven_username,
password: maven_password)
}
}
}
}