gradle 설정의 의존 집합
1655 단어 gradle 자동 구축
buildscript {
ext {
springBootVersion = '1.5.1.RELEASE'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
plugins {
id 'java'
}
// spring-boot-gradle-plugin , apply plugin: 'java',springBootVersion
apply plugin: 'java'
//apply plugin: 'war'
apply plugin: 'idea'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenLocal()
//mavenCentral()
maven {url 'https://maven.aliyun.com/repository/public'}
}
dependencies {
//groupId:artifactId:version
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-thymeleaf:${springBootVersion}");
compile("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.2");
compile("commons-io:commons-io:2.5");//FileUtils.readFileToString
compile("mysql:mysql-connector-java:5.1.39")
//compile("org.activiti:activiti-spring-boot-starter-basic:5.22.0")
compile("org.activiti:activiti-spring-boot-starter-basic:6.0.0")
// lombok.extern.slf4j.Slf4j ;
compile("org.projectlombok:lombok:1.18.4")
// sql
compile("org.slf4j:slf4j-api:1.7.5")
compile("ch.qos.logback:logback-classic:1.0.13")
testCompile("org.springframework.boot:spring-boot-starter-test:${springBootVersion}")
compile("junit:junit:4.12")
}