Exit Full View

Gidea / build.gradle

version = '1.0'

repositories {
    mavenCentral()
  mavenLocal()
}

apply plugin: 'eclipse'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'war'
apply plugin: 'jetty'

sourceCompatibility = 1.7;
targetCompatibility = 1.7;

jettyRun.httpPort = 9000;
jettyRun.contextPath = "gidea";

dependencies {
    providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
    providedCompile 'javax.servlet.jsp:jsp-api:2.2'
    runtime 'jstl:jstl:1.2'
    compile 'org.apache.logging.log4j:log4j-core:2.4.1'
    runtime 'org.apache.logging.log4j:log4j-web:2.4.1'
    compile 'org.apache.commons:commons-lang3:3.0'
    compile 'org.apache.struts:struts-tiles:1.3.10'
    compile 'nickthecoder.co.uk:webwidgets-core:0.1'    
    compile 'nickthecoder.co.uk:pinkwino-core:2.0'    
}


war {   
    rootSpec.exclude("**/servlet-api*.jar")
}