-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (49 loc) · 1.63 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
buildscript {
repositories {
jcenter()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.5.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'spring-boot'
jar {
baseName = 'LMS'
version = '0.0.1-SNAPSHOT'
}
repositories {
jcenter()
mavenCentral()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")/*{
exclude(group:'org.springframework.boot',module:'spring-boot-starter-tomcat')
}*/
// providedCompile("org.apache.tomcat:tomcat-servlet-api:7.0.42")
compile("mysql:mysql-connector-java:5.1.36")
//compile("com.oracle:ojdbc14:10.2.0.3.0")
compile("org.springframework:springloaded:1.2.4.RELEASE")
//compile("net.sf.json-lib:json-lib:2.4")
compile("org.json:json:20141113")
compile("org.apache.httpcomponents:httpclient:4.5")
testCompile("org.springframework.boot:spring-boot-starter-test")
//providedCompile("org.springframework.boot:spring-boot-starter-tomcat:1.2.5.RELEASE")
/*user the local jar*/
//compile files("...jar")
//compile fileTree(dir:"C:\\Users\\Asus55\\.IntelliJIdea14\\config\\jdbc-drivers",include:"*.jar")
//compile fileTree(dir:"F:\\jar\\json",include:"*.jar")
compile fileTree(dir:"./lib",include:"*.jar")
}
/*
idea {
module {
inheritOutputDirs = false
outputDir = file("$buildDir/classes/main/")
}
}*/