Created
October 25, 2012 20:24
-
-
Save gAmUssA/3955171 to your computer and use it in GitHub Desktop.
generic gradle build from ClearDataBuilder example project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'war' | |
apply plugin: 'eclipse' | |
sourceCompatibility = 1.6 | |
targetCompatibility = 1.6 | |
def mybatisVersion = '3.0.4' | |
def gsonVersion = '2.2.1' | |
def springVersion = '3.1.0.RC1' | |
sourceSets { | |
main { | |
java { | |
srcDir 'src' | |
} | |
resources{ | |
srcDir 'src' | |
} | |
} | |
} | |
dependencies{ | |
providedCompile files ('WebContent/WEB-INF/lib/clear-extjs-runtime-core.jar') | |
providedCompile files ('WebContent/WEB-INF/lib/clear-extjs-annotations.jar') | |
providedCompile files ('WebContent/WEB-INF/lib/clear-dto2extjs-annotations.jar') | |
providedCompile files ("WebContent/WEB-INF/lib/mybatis-${mybatisVersion}.jar") | |
providedCompile files ("WebContent/WEB-INF/lib/gson-${gsonVersion}.jar") | |
providedCompile files ("WebContent/WEB-INF/lib/directjngine.2.2.jar") | |
providedCompile files ("WebContent/WEB-INF/lib/org.springframework.context-${springVersion}.jar") | |
providedCompile files ("WebContent/WEB-INF/lib/org.springframework.beans-${springVersion}.jar") | |
providedCompile 'javax.servlet:servlet-api:2.5' | |
providedCompile 'javax.servlet:jsp-api:2.0' | |
} | |
webAppDirName = "WebContent" | |
processResources { | |
exclude '**/*.java', '**/*.class', 'carol.properties' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment