代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。