-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (39 loc) · 1.34 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
group 'com.baomidou'
version '1.1-SNAPSHOT'
apply plugin: 'java'
//apply plugin: 'maven-deploy'
apply plugin: 'maven-publish'
apply plugin: 'propdeps'
apply plugin: 'propdeps-idea'
sourceCompatibility = 1.8
repositories {
mavenLocal()
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "http://www.cameliatk.jp/maven2/repository/thirdparty" }
jcenter()
}
dependencies {
compile "com.baomidou:mybatis-plus:2.3"
compile "io.shardingjdbc:sharding-jdbc-core-spring-boot-starter:2.0.3"
compile "org.springframework.boot:spring-boot-autoconfigure:1.5.10.RELEASE"
compile "org.springframework.boot:spring-boot-configuration-processor:1.5.10.RELEASE"
provided "org.springframework.boot:spring-boot-starter:1.5.10.RELEASE"
optional "org.springframework.boot:spring-boot-starter-jdbc:1.5.10.RELEASE"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
buildscript {
repositories {
maven { url "https://repo.spring.io/plugins-release" }
}
dependencies {
classpath("org.springframework.build.gradle:propdeps-plugin:0.0.7")
}
}