ATG-Gradle-Plugin
buildscript {
repositories {
maven {
url "https://raw.githubusercontent.com/josephn814/ATG-Gradle-Plugin/master/repo"
}
}
dependencies {
classpath "com.aaxis:atg-gradle-plugin:1.0-SNAPSHOT"
}
}
apply plugin: 'atg'
atg {
//root = "C:\\atgcertenv20140212\\ATG10.0.2" //ATG 安装目录
//moduleName = "NGP.ModuleA" //当前模块的模块名,默认为当前GRADLE模块的模块名
dependOnModules = ["DSS"] //引用已经在ATG目录下已经存在的MODULEs
dependOnProjects = ["OtherModuleName"] //引用在当前GRADLE PROJECTS中的某些ATG MODULE
/*
manifest {
attributes abc: "abc" //可以增加其他MANIFEST 属性到模块的MANIFEST.MF文件中
}
*/
j2eeApps {
//dir = "j2ee-apps" //J2EE 文件路径,里面存在的是WEB内容。默认为j2ee-apps
modules = ["store.war"] //WEB内容的目录,可以包含多个WEB-APP
}
}
install - Install module to ATG root.
build - Assembles and tests this project.
eclipse - Generates all Eclipse files.
idea - Generates IDEA project files (IML, IPR, IWS)
cleanInstall - remove installed module.
clean - clean build directory.
All tasks have supported "up-to-date" feature.