1 Star 0 Fork 0

深圳如风/Axelor-open-suite-webapp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.98 KB
一键复制 编辑 原始数据 按行查看 历史
Arthur Lefebvre 提交于 2021-03-17 17:17 . Release 6.0.8
import com.axelor.gradle.tasks.GenerateAosChangelog
buildscript {
ext.repos = {
mavenCentral()
mavenLocal()
jcenter()
maven { url 'https://plugins.gradle.org/m2/' }
maven { url 'https://repository.axelor.com/nexus/public/' }
}
ext.openPlatformVersion = '5.3.8'
ext.appVersion = '6.0.8'
repositories repos
dependencies {
classpath "com.axelor:axelor-gradle:${openPlatformVersion}"
}
}
allprojects { repositories repos }
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: "com.axelor.app"
apply from: './gradle/style.gradle'
allprojects {
configurations {
runtimeClasspath.exclude group:"org.eclipse.birt.runtime.3_7_1", module:"org.apache.commons.codec"
}
apply plugin: 'idea'
apply plugin: 'eclipse'
group = "com.axelor"
version = "${appVersion}"
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
subprojects {
group = "com.axelor.apps"
}
axelor {
title "Axelor ERP"
description "Axelor Entreprise Application"
}
dependencies {
gradle.appModules.each { dir ->
implementation project(":modules:$dir.name")
}
}
task("dataImport", type: JavaExec) {
main = "com.axelor.apps.erp.Main"
classpath = sourceSets.main.runtimeClasspath
if(System.getProperty("exec.args") != null) {
args System.getProperty("exec.args").split()
}
}
task archiveReports(type: Zip) {
file("modules").traverse(type: groovy.io.FileType.DIRECTORIES, maxDepth: 1) { dir ->
if(new File(dir, "build.gradle").exists() && new File(dir, "/src/main/resources/reports").exists()) {
new File(dir, "/src/main/resources/reports/").listFiles().each { report ->
from report.getPath()
}
}
}
classifier 'reports'
includeEmptyDirs = false
destinationDirectory = file("$buildDir/libs")
}
task generateChangeLog(type: GenerateAosChangelog) {
group "Axelor application"
description "Generate change logs from unreleased entries."
files = fileTree(projectDir) {
include '**/changelogs/**/*.yml'
include '**/changelogs/**/*.yaml'
}
}
build.finalizedBy archiveReports
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jason156/axelor-open-suite-webapp.git
git@gitee.com:jason156/axelor-open-suite-webapp.git
jason156
axelor-open-suite-webapp
Axelor-open-suite-webapp
master

搜索帮助