forked from ow2-proactive/catalog-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (57 loc) · 2.04 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
63
64
65
66
67
68
group 'org.ow2.proactive'
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
version = version
archivesBaseName = 'catalog-client'
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
url "http://repository.activeeon.com/content/groups/proactive/"
}
}
dependencies {
classpath "com.diffplug.gradle.spotless:spotless:2.4.0"
classpath "org.ow2.proactive:coding-rules:1.0.0"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.1"
}
dependencies {
delete "gradle/ext"
ant.unjar src: configurations.classpath.find { it.name.startsWith("coding-rules") }, dest: 'gradle/ext'
}
}
apply from: "$rootDir/gradle/ext/coding-format.gradle"
apply plugin: 'maven'
apply plugin: 'org.sonarqube'
repositories {
mavenCentral()
}
dependencies {
compile "org.projectlombok:lombok:1.16.10"
compile "com.google.guava:guava:19.0"
compile "org.apache.logging.log4j:log4j-web:2.7"
compile 'com.jayway.restassured:rest-assured:2.9.0'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.6.6'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile 'com.google.truth:truth:0.30'
testCompile 'org.mockito:mockito-core:1.10.19'
}
uploadArchives {
repositories {
mavenDeployer {
snapshotRepository(url: "http://repository.activeeon.com/content/repositories/snapshots/") {
authentication(userName: "${System.getProperty('nexusUsername')}",
password: "${System.getProperty('nexusPassword')}")
}
repository(url: "http://repository.activeeon.com/content/repositories/releases/") {
authentication(userName: "${System.getProperty('nexusUsername')}",
password: "${System.getProperty('nexusPassword')}")
}
}
}
}