-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
90 lines (75 loc) · 2.2 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
buildscript {
ext {
springBootVersion = '1.3.5.RELEASE'
}
repositories {
mavenCentral()
maven { url "https://repo.spring.io/libs-release" }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")
classpath("io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE")
classpath("com.eriwen:gradle-css-plugin:2.12.0")
}
}
allprojects {
version = '1.0.12'
apply plugin: 'maven'
apply plugin: 'java'
//apply plugin: 'war'
apply plugin: 'eclipse-wtp'
apply plugin: 'spring-boot'
apply plugin: 'io.spring.dependency-management'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
mavenCentral()
mavenLocal()
maven { url "https://repo.spring.io/libs-release" }
maven { url 'http://repo.spring.io/milestone' }
maven { url 'http://repo.spring.io/libs-snapshot' }
maven { url "https://m2.neo4j.org" }
maven { url 'http://maven.vaadin.com/vaadin-addons' }
maven { url "http://mvnrepository.com/" }
}
uploadArchives {
repositories {
mavenDeployer {
pom {
project {
parent {
groupId "org.springframework.boot"
artifactId "spring-boot-starter-parent"
version "$springBootVersion"
}
}
}
}
}
}
dependencies {
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
}
}
eclipse {
classpath {
containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '3.5'
}
jar {
manifest {
attributes("Main-Class": "bio.knowledge.server.Swagger2SpringBoot")
}
}
//war {
// from 'src/main/webapp'
//}