1 Star 0 Fork 175

fc7788/云财务软件

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.88 KB
一键复制 编辑 原始数据 按行查看 历史
夏悸 提交于 2022-08-12 11:58 . feat: init
group 'cn.gson.financial'
version '0.1'
buildscript {
ext {
springBootVersion = '2.1.8.RELEASE'
}
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
configure(subprojects.findAll { !it.name.contains('front-end') }) {
apply plugin: 'java'
version '1.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
}
dependencies {
compileOnly('org.projectlombok:lombok:1.18.6')
implementation("org.springframework.boot:spring-boot-starter-aop:${springBootVersion}")
compileOnly("org.springframework.boot:spring-boot-configuration-processor:${springBootVersion}")
implementation('org.apache.commons:commons-lang3:3.8.1')
implementation('org.apache.commons:commons-io:1.3.2')
implementation('commons-codec:commons-codec:1.12')
annotationProcessor 'org.projectlombok:lombok:1.18.6'
}
}
task independentBuild(dependsOn: ['front-end:build', 'bs-server:bootJar']) {
group = 'build'
description = '独立编译输出'
def modules = ['bs-server']
doLast {
delete("${project.projectDir}/build")
copy {
from fileTree("${project.projectDir}/front-end/dist")
into("${project.projectDir}/build/front-end")
}
modules.each { target ->
copy {
from fileTree("${project.projectDir}/${target}/build/libs")
into("${project.projectDir}/build/${target}")
}
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/fc7788/public-financial.git
git@gitee.com:fc7788/public-financial.git
fc7788
public-financial
云财务软件
master

搜索帮助