build.gradle file ---------------------- apply plugin: ‘java’ //apply plugin: ‘maven-publish’ apply plugin: ‘eclipse’ //apply plugin: ‘groovy’
repositories {
//mavenLocal()
mavenCentral() }
dependencies {
compile ‘javax:javaee-api:6.0’
compile ‘javax.jms:javax.jms-api’
compile ‘com.sun.jersey:jersey-client:1.17.1’
compile ‘com.sun.jersey:jersey-json:1.17.1’
compile ‘org.antlr:antlr4-runtime:4.1’
compile ‘org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final’
compile ‘org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:1.0.1.Final’
compile ‘org.slf4j:slf4j-api:1.7.5’
compile ‘org.slf4j:slf4j-log4j12:1.7.5’
compile ‘org.springframework:spring-context:3.2.4.RELEASE’
compile ‘org.springframework:spring-core:3.1.1.RELEASE’
compile ‘org.springframework:spring-oxm:3.0.2.RELEASE’
compile ‘org.springframework:spring-test:3.2.3.RELEASE’
compile ‘org.eclipse.persistence:javax.persistence:2.1.0’
compile ‘org.javassist:javassist:3.14.0-GA’
compile ‘org.hibernate:hibernate-core:4.1.4.Final’
compile ‘org.hibernate:hibernate-entitymanager:3.3.2.GA’
compile ‘dom4j:dom4j:1.6.1’
compile ‘ojdbc:ojdbc:14’
testCompile ‘org.easymock:easymock:2.5’ }
sourceSets {
main {
java {
srcDirs = ["/cmds/compass/gmrss"]
srcDirs = ["/compass/gmrss/jersey"]
srcDirs = ["/compass/gmrss/model"]
srcDirs = ["/cmds/dataacess/dao/notifications"]
srcDirs = [“cmds/dataacess/entity/notifications”]
srcDirs = [“cmds/datamodel/util”]
srcDirs = [“cmds/model/compass/notification”]
srcDirs = [“cmds/model/mpx/auth”]
srcDirs = [“cmds/model/mpx/media”]
srcDirs = [“cmds/model/mpx/notification”]
srcDirs = [“cmds/mpxclient/media.adi.model”]
srcDirs = [“cmds/mpxclient/media.model”]
srcDirs = [“cmds/mpxclient/mediafile.model”]
srcDirs = [“cmds/mpxres/media”]
srcDirs = [“cmds/mpxres/mediafile”]
include “/*.java”
// exclude “/Test.java”
}
resources{
srcDirs = ["/META-INF/*.xml"]
}
}
test {
java {
srcDirs = [“comcast/sed/unifiedingest/cmds/compass/gmrss/jersey”]
srcDirs = [“cmds/compass/gmrss/mock”]
srcDirs = [“cmds/dataacess/dao/notifications”]
srcDirs = [“cmds/mpxres/media”]
srcDirs = [“cmds/mpxres/mediafile”]
include “/Test.java”
// exclude “/*.java”
}
} }
task sampleTest(type: Test, dependsOn: testClasses) {
include ‘comcast/sed/unifiedingest/cmds/compass/gmrss/jersey/TestgMrssRequestObject’
include ‘cmds/compass/gmrss/mock/TestJunitGMRSSServiceHelper’
include ‘cmds/compass/gmrss/mock/TestJunitGMRSSServiceImpl’
include ‘cmds/dataacess/dao/notifications/ManualTestNotificationDAOImpl’
include ‘cmds/dataacess/dao/notifications/TestJunitNotificationDAOImpl’
include ‘cmds/mpxres/media/TestJunitMediaResponse’
include ‘cmds/mpxres/mediafile/TestJunitMediaFileResponse’
}
tasks.withType(Test) {
testLogging {
events ‘started’, ‘passed’
} }
task wrapper(type: Wrapper) {
gradleVersion = ‘1.8’ }
Compile time error ----------------------------- Starting Build Settings evaluated using empty settings script. Projects loaded. Root project using build file \build.gradle’. Included projects: [root project ‘data-model’] Evaluating root project ‘data-model’ using build file ‘\build.gradle’. Starting file lock listener thread. Compiling build file ‘build.gradle’ using Bui ldScriptClasspathScriptTransformer. Compiling build file ‘build.gradle’ using Bui ldScriptTransformer. All projects evaluated.
FAILURE: Build failed with an exception.
-
What went wrong: Could not determine the dependencies of task ‘:processResources’.
-
Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
Total time: 6.114 secs