Copyright 2013-2015 Martin Goellnitz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see
| Constructor and description |
|---|
TangramUtilities
(org.gradle.api.Project p) |
| Type | Name and description |
|---|---|
java.lang.Object |
ebeanEnhance()Call the Ebean Enhancer as an ant task. |
java.lang.Object |
ebeanEnhanceTest()Call the Ebean Enhancer for the test classes of the caller as an ant task. |
java.lang.Object |
eclipselinkWeave(java.lang.String dir)Call the EclipseLink Weaver for the callers classes before packaging a jar. |
java.lang.Object |
isCss(java.lang.Object input)Helper methods to be used for conditional filtering of input files. |
java.lang.Object |
isJavaScript(java.lang.Object input) |
java.lang.Object |
minifyArchive(org.gradle.api.tasks.bundling.Jar j)Tries to minidy any JavaScript and CSS file in the given archive. |
java.lang.Object |
nucleusJdoEnhance()Do JDO enhancement with datanucleus enhancer of classes from the callers javaCompile output set. |
java.lang.Object |
nucleusJpaEnhance()Do JPA enhancement with datanucleus enhancer of classes from the callers javaCompile output set. |
java.lang.Object |
nucleusJpaEnhance(java.lang.String dir)Do JPA enhancement with datanucleus enhancer of classes from the callers javaCompile output set to the given target directory. |
java.lang.Object |
openjpaEnhance(java.lang.String dir)Call the OpenJPA Enhancer as an ant task. |
java.lang.Object |
overlayWebapp(org.gradle.api.tasks.bundling.War w)Extract all webarchives we depend on and leave out files we'd like to overwrite with local versions. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Call the Ebean Enhancer as an ant task. Ebean must be available from the callers runtime classpath.
Call the Ebean Enhancer for the test classes of the caller as an ant task. Ebean must be available from the callers runtime classpath.
Call the EclipseLink Weaver for the callers classes before packaging a jar. You may provide an output directory for the woven classes. If this parameter is missing or null the original classes will be overridden.
Helper methods to be used for conditional filtering of input files. These filters only work with files - not e.g. with zip entries.
Tries to minidy any JavaScript and CSS file in the given archive.
Do JDO enhancement with datanucleus enhancer of classes from the callers javaCompile output set.
Do JPA enhancement with datanucleus enhancer of classes from the callers javaCompile output set.
Do JPA enhancement with datanucleus enhancer of classes from the callers javaCompile output set to the given target directory.
Call the OpenJPA Enhancer as an ant task. OpenJPA must be available from the callers runtime classpath, which is the case for any project using OpenJPA. The target directory parameter dir is optional. If present the enhanced classes will be placed in the given directory otherwise the original classes get overridden. An optional persistence.xml can be placed in the subfolder META-INF folder of an 'enhance/' folder in the project's root directory which then is only used during the enhancement process. This helps when having multiple jars with enhanced classes while only one of them may later contain the persistence.xml in effect for the deployed system.
Extract all webarchives we depend on and leave out files we'd like to overwrite with local versions.