|
|
@@ -0,0 +1,70 @@ |
|
|
apply plugin: 'java' |
|
|
apply plugin: 'eclipse' |
|
|
apply plugin : 'war' |
|
|
apply plugin : 'jetty' |
|
|
|
|
|
sourceCompatibility = 1.7 |
|
|
version = '0.1' |
|
|
|
|
|
group = 'org.computermentor' |
|
|
version = '1.0.0' |
|
|
sourceCompatibility = 1.7 |
|
|
targetCompatibility = 1.7 |
|
|
httpPort = 3000 |
|
|
|
|
|
jettyVersion = '6.1.25' |
|
|
slf4jVersion = '1.7.2' |
|
|
log4jVersion = '1.2.14' |
|
|
|
|
|
eclipse { |
|
|
jdt { |
|
|
sourceCompatibility = 1.7 |
|
|
targetCompatibility = 1.7 |
|
|
} |
|
|
} |
|
|
|
|
|
jar { |
|
|
manifest { |
|
|
attributes 'Implementation-Title': 'Code Search Webapp', 'Implementation-Version': version |
|
|
} |
|
|
} |
|
|
|
|
|
repositories { |
|
|
mavenCentral() |
|
|
} |
|
|
|
|
|
dependencies { |
|
|
compile group: 'commons-lang', name: 'commons-lang', version: '2.5' |
|
|
compile group: 'com.google.guava', name: 'guava', version: '14.0' |
|
|
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.1.3' |
|
|
compile 'com.google.inject:guice:3.0' |
|
|
compile 'org.elasticsearch:elasticsearch:0.90.0.Beta1' |
|
|
//compile 'com.sun.jersey.contribs:jersey-guice:1.17' |
|
|
//compile 'com.sun.jersey:jersey-server:1.17' |
|
|
compile 'com.google.inject.extensions:guice-servlet:3.0' |
|
|
compile group: 'javax.servlet', name: 'servlet-api', version: '2.5' |
|
|
|
|
|
//compile group: 'org.apache.wicket', name: 'wicket', version: wicketVersion |
|
|
//compile group: 'org.apache.wicket', name: 'wicket-extensions', version: wicketVersion |
|
|
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: slf4jVersion |
|
|
compile group: 'log4j', name: 'log4j', version: log4jVersion |
|
|
|
|
|
// Pull in compile time dependencies. |
|
|
testCompile "junit:junit:4.11" |
|
|
//testCompile group: 'org.mortbay.jetty', name: 'jetty', version: jettyVersion |
|
|
//testCompile group: 'org.mortbay.jetty', name: 'jetty-util', version: jettyVersion |
|
|
//testCompile group: 'org.mortbay.jetty', name: 'jetty-management', version: jettyVersion |
|
|
|
|
|
} |
|
|
|
|
|
test { |
|
|
systemProperties 'property': 'value' |
|
|
} |
|
|
|
|
|
uploadArchives { |
|
|
repositories { |
|
|
flatDir { |
|
|
dirs 'repos' |
|
|
} |
|
|
} |
|
|
} |