Sha256: 74d22a1ad2a1e1c7574fa5823b3a4f02e34af3a05f6d21b7edd3d25648cd5bff

Contents?: true

Size: 1.58 KB

Versions: 1

Compression:

Stored size: 1.58 KB

Contents

repositories {
    mavenCentral()
}

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

sourceCompatibility = 1.6
targetCompatibility = 1.6
version = '1.0'

sourceSets {
    main {
        java {
            srcDir '<%= Configuration::MAIN_SRC %>'
        }
        resources {
            srcDir '<%= Configuration::MAIN_RESOURCES %>'
        }
    }
    test {
        java {
            srcDir '<%= Configuration::TEST_SRC %>'
        }
        resources {
            srcDir '<%= Configuration::TEST_RESOURCES %>'
        }
    }
}

sourceSets.main.output.classesDir = new File('<%= Configuration::WEB_INF %>/classes')

jettyRun.scanIntervalSeconds=3
jettyRun.contextPath = '/'
[jettyRunWar,jettyStop]*.stopPort = 8081
[jettyRunWar,jettyStop]*.stopKey = 'stopKey'

dependencies {
<% Dependencies.compile_scope.each do |dependency| -%>
    compile group: '<%= dependency.group %>', name: '<%= dependency.name %>', version: '<%= dependency.version %>'<% if dependency.has_exclusions? %>, {<% dependency.exclusions.each do |exclusion| %>
        exclude group: '<%= exclusion.group %>', name: '<%= exclusion.name %>'<% end %>
    }<% end %>
<% end -%>

    //Provided dependencies
<% Dependencies.provided_scope.each do |dependency| -%>
    providedCompile group: '<%= dependency.group %>', name: '<%= dependency.name %>', version: '<%= dependency.version %>'
<% end -%>

    //Test dependencies
<% Dependencies.test_scope.each do |dependency| -%>
    testCompile group: '<%= dependency.group %>', name: '<%= dependency.name %>', version: '<%= dependency.version %>'
<% end -%>
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
springmvc-scaffold-1.0.1 lib/springmvc-scaffold/generators/app/templates/build.gradle.erb