-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (51 loc) · 1.37 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
buildscript {
repositories {
mavenCentral()
}
}
group 'com.jjm'
version '1.0.0'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'maven'
jar {
baseName = 'jjm-chameleon'
version = '0.0.1'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
apply plugin: 'java'
repositories {
mavenCentral()
maven {
url "http://jtracking-sonatype.rhcloud.com/content/repositories/snapshots"
}
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile 'org.springframework:spring-beans:4.2.4.RELEASE'
compile 'org.springframework:spring-context:4.2.4.RELEASE'
compile 'org.aspectj:aspectjrt:1.8.8'
compile 'org.aspectj:aspectjweaver:1.8.8'
compile 'org.springframework:spring-aop:4.2.5.RELEASE'
compile 'com.jjm:chameleon-jpa-support:1.0-SNAPSHOT'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "http://jtracking-sonatype.rhcloud.com/content/repositories/snapshots/") {
authentication(userName: "admin", password: "admin123")
}
pom.version = "1.0-SNAPSHOT"
pom.artifactId = "chameleon"
pom.groupId = "com.jjm"
}
}
}