Files
smart_venue/api/build.gradle
2021-02-24 11:33:45 +08:00

47 lines
949 B
Groovy

buildscript {
ext {
springBootVersion = '1.5.6.RELEASE'
}
repositories {
maven {
url 'https://maven.aliyun.com/repository/public'
}
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
group 'smartvenue'
version '2.0.0'
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
sourceCompatibility = 1.8
repositories {
//mavenCentral()
maven {
url 'https://maven.aliyun.com/repository/public'
}
}
jar {
baseName = 'sv-api'
}
ext {
nettyVersion = '4.1.10.Final'
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile fileTree(include: '*.jar', dir: 'src/libs')
compile project(':service')
compile "io.netty:netty-all:${nettyVersion}"
compile 'mysql:mysql-connector-java:6.0.6'
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}