forked from sitmun/sitmun-plugin-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (46 loc) · 1.35 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
plugins {
id 'org.springframework.boot' version '1.5.8.RELEASE'
id 'org.sonarqube' version '2.6'
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven-publish'
apply plugin: 'jacoco'
group = 'org.sitmun'
version = '0.1.0-SNAPSHOT'
repositories {
mavenLocal()
mavenCentral()
}
bootRepackage {
enabled = false
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.webjars:webjars-locator'
implementation 'org.webjars:bootstrap:3.3.7'
implementation 'org.webjars:requirejs:2.3.3'
implementation 'org.springframework.boot:spring-boot-starter-data-rest'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'io.springfox:springfox-swagger2:2.8.0'
implementation 'com.h2database:h2'
//implementation 'com.oracle:ojdbc7:12.1.0.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId group
artifactId 'sitmun-plugin-core'
version version
from components.java
}
}
}
sonarqube {
properties {
property 'sonar.host.url', 'https://sonarcloud.io'
property 'sonar.organization', 'sitmun'
}
}
task install(dependsOn: 'publishToMavenLocal')