1 Star 0 Fork 8

Emotion404 / DLicense

forked from 任鑫 / DLicense 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 2.13 KB
一键复制 编辑 原始数据 按行查看 历史
任鑫 提交于 2021-05-11 15:57 . 初始提交
plugins {
id 'org.springframework.boot' version '2.2.10.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'java'
id 'idea'
}
group 'cn.rxmind'
version '1.0'
sourceCompatibility = '1.8'
bootJar {
enabled = false
}
allprojects{
repositories {
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/public' }
mavenCentral()
}
//指定编码格式
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'application'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'org.springframework.boot'
group = 'cn.rxmind'
version = '1.0'
sourceCompatibility = '1.8'
ext {
set('springBootVersion', "2.2.10.RELEASE")
set('lombokVersion', "1.18.20")
set('hutoolAllVersion', "5.5.1")
set('junitJupiterVersion', "5.5.2")
set('junitPlatformLauncherVersion', "1.5.2")
set('guavaVersion', "19.0")
set('commonslang3Version', "3.8.1")
set('fastjsonVersion', "1.2.68")
set('trueLicenseVersion','1.33')
}
repositories {
mavenLocal()
maven { url 'https://maven.aliyun.com/repository/public' }
mavenCentral()
}
dependencies {
// springBoot依赖部分
implementation 'org.springframework.boot:spring-boot-starter-web'
// true license 框架引入
implementation "de.schlichtherle.truelicense:truelicense-core:${trueLicenseVersion}"
// 工具库部分
implementation 'com.google.guava:guava:30.1.1-jre'
implementation "cn.hutool:hutool-all:${hutoolAllVersion}"
implementation "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
// 单元测试工具
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: '2.2.10.RELEASE'
}
test {
useJUnitPlatform()
ignoreFailures = true
}
}
Java
1
https://gitee.com/Emotion404/dlicense.git
git@gitee.com:Emotion404/dlicense.git
Emotion404
dlicense
DLicense
master

搜索帮助