This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build_.gradle
126 lines (113 loc) · 3.42 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
//apply plugin: 'java'
//apply plugin: 'osgi'
apply from: 'libraries.gradle'
allprojects {
apply plugin: 'maven'
repositories {
mavenLocal()
mavenRepo name: 'bippo-gk-nexus', url: "http://192.168.44.17:8080/nexus/content/groups/public/"
}
group = 'org.soluvas'
version = '2.0.0-SNAPSHOT'
uploadArchives {
repositories.mavenDeployer {
repository(url: 'http://192.168.44.17:8080/nexus/content/repositories/snapshots') {
authentication userName: 'admin', password: 'admin123'
}
// "pom.project" has no effect, but "pom { project" omits dependencies :(
pom.project {
scm {
connection 'scm:git:git@github.com:soluvas/soluvas-framework.git'
url 'http://github.com/soluvas/soluvas-framework'
}
organization {
name 'Soluvas'
url 'http://www.soluvas.com/'
}
developers {
developer {
id 'ceefour'
name 'Hendy Irawan'
url 'http://www.hendyirawan.com/'
email 'hendy@soluvas.com'
organization { name 'Soluvas' }
organizationUrl 'http://www.soluvas.com/'
}
developer {
id 'rudi'
name 'Rudi Wijaya'
email 'rudi.mail90@gmail.com'
organization 'Bippo'
organizationUrl 'http://www.bippo.co.id/'
}
developer {
id 'atang'
name 'Atang Sutisna'
email 'atang.sutisna87@gmail.com'
organization 'Bippo'
organizationUrl 'http://www.bippo.co.id/'
}
}
licenses {
license {
name 'Apache License 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
}
}
}
}
archivesBaseName = "${project.group}.build"
subprojects {
apply plugin: 'java'
apply plugin: 'osgi'
apply plugin: 'maven'
archivesBaseName = "${project.group}.${project.name}"
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
dependencies {
compile libraries.guava
compile libraries.commons_io, libraries.commons_codec,
libraries.commons_lang3, libraries.commons_beanutils
compile libraries.joda_money, libraries.joda_time, libraries.jscience
compile libraries.cdi, libraries.validation
compile libraries.slf4j_api
runtime libraries.logback, libraries.slf4j_jcl_over_slf4j
testCompile libraries.hamcrest, libraries.junit
compile libraries.findbugs
}
test {
onlyIf { Boolean.getBoolean('run.tests') }
}
}
/*
dependencies {
compile 'org.atmosphere:atmosphere-runtime:1.0.12'
compile 'org.apache.wicket:wicket-spring:6.6.0'
compile 'org.apache.wicket:wicket-atmosphere:0.8'
compile 'org.springframework:spring-web:3.2.2.RELEASE'
compile 'commons-io:commons-io:2.4'
compile 'commons-codec:commons-codec:1.7'
compile 'org.apache.shiro:shiro-core:1.2.1'
providedCompile 'javax.servlet:javax.servlet-api:3.0.1'
compile 'org.eclipse.emf:org.eclipse.emf.ecore:2.8.1.v20120911-0500'
compile 'org.eclipse.emf:org.eclipse.emf.common:2.8.0.v20120911-0500'
compile 'org.joda:joda-money:0.8'
compile 'joda-time:joda-time:2.1'
compile 'org.mongodb:mongo-java-driver:2.7.3'
compile 'com.google.code.morphia:morphia:0.99.1-SNAPSHOT'
compile 'com.google.code.morphia:morphia-logging-slf4j:0.99'
providedCompile 'javax.enterprise:cdi-api:1.0-SP4'
runtime 'org.slf4j:jcl-over-slf4j:1.7.2'
runtime 'ch.qos.logback:logback-classic:1.0.6'
compile 'org.slf4j:slf4j-api:1.7.2'
testCompile 'org.hamcrest:hamcrest-all:1.3'
testCompile 'junit:junit:4.11'
testCompile 'com.google.code.findbugs:jsr305:2.0.1'
}
*/
task wrapper(type: Wrapper) {
gradleVersion = '1.4'
}