-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
54 lines (44 loc) · 1.08 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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'idea'
apply plugin: 'maven-publish'
group = 'com.jeeframework'
version = '0.0.9-SNAPSHOT'
description = """jeeframework"""
sourceCompatibility = 1.7
targetCompatibility = 1.7
defaultTasks 'clean', 'jar'
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
repositories {
maven {
url "http://libs.dookoo.net/content/repositories/snapshots"
credentials {
username "$mavenUser"
password "$mavenPassword"
}
}
}
}
repositories {
mavenLocal()
mavenCentral()
maven { url "http://libs.dookoo.net/content/groups/public/" }
}
dependencies {
compile group: 'junit', name: 'junit', version:'4.12'
compile group: 'org.slf4j', name: 'slf4j-api', version:'1.7.14'
}