加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 4.40 KB
一键复制 编辑 原始数据 按行查看 历史
buildscript {
ext {
springBootVersion = '1.5.1.RELEASE'
springfoxVersion = '2.6.0'
springVersion = '4.3.6.RELEASE'
}
repositories {
mavenCentral()
// jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
// maven { url 'http://repo.spring.io/plugins-release' }
}
dependencies {
// classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
// classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
// classpath("io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE")
classpath("com.github.ksoichiro:gradle-build-info-plugin:0.2.0")
classpath 'net.researchgate:gradle-release:2.4.0'
classpath "me.champeau.gradle:jmh-gradle-plugin:0.4.5"
}
}
allprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
group = 'com.github.xiaoyao9184'
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven{
url 'http://maven.aliyun.com/mvn/repository/'
}
flatDir {
dirs "$rootProject.projectDir/libs"
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0,'seconds'
}
}
project(':stream-reader') {
// group 'com.xy.stream'
version "${version}"
apply plugin: 'java'
apply plugin: 'maven-publish'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
//Test
testCompile group: 'junit', name: 'junit', version: '4.12'
}
}
project(':segment-parser') {
// group 'com.xy.format'
version "${version}"
apply plugin: 'java'
apply plugin: 'maven-publish'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile project(':stream-reader')
//Test
testCompile group: 'junit', name: 'junit', version: '4.12'
}
}
project(':hj-t212-parser') {
// group 'com.xy.format'
version "${version}"
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: "me.champeau.gradle.jmh"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile project(':segment-parser')
//JSON
compile group: 'javax.json.bind', name: 'javax.json.bind-api', version: '1.0'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.9.3'
compile group: 'org.eclipse', name: 'yasson', version: '1.0.1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.3'
//Validation
compile group: 'javax.validation', name: 'validation-api', version: '2.0.0.Final'
//OAI
compile group: 'io.swagger', name: 'swagger-annotations', version: '1.5.10'
//Test
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile 'org.reflections:reflections:0.9.11'
testCompile 'ch.qos.logback:logback-core:1.2.3'
testCompile 'ch.qos.logback:logback-classic:1.2.3'
testCompile 'org.hibernate.validator:hibernate-validator:6.0.2.Final'
testCompile 'javax.el:javax.el-api:2.2.4'
testCompile 'org.glassfish.web:javax.el:2.2.4'
testCompile 'org.reflections:reflections:0.9.11'
testCompile 'org.openjdk.jmh:jmh-core:1.15'
testCompile 'org.openjdk.jmh:jmh-generator-annprocess:1.15'
//JMH
jmh 'org.openjdk.jmh:jmh-core:1.15'
jmh 'org.openjdk.jmh:jmh-generator-annprocess:1.15'
jmh 'org.reflections:reflections:0.9.11'
jmh 'ch.qos.logback:logback-core:1.2.3'
jmh 'ch.qos.logback:logback-classic:1.2.3'
}
}
project(':hj-t212-translator') {
// group 'com.xy.format'
version "${version}"
apply plugin: 'java'
apply plugin: 'maven-publish'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
//Test
testCompile group: 'junit', name: 'junit', version: '4.12'
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化