view core/build.gradle @ 29:acdcdf1a8d21

repository reorganized
author cin
date Tue, 26 Jun 2018 19:35:44 +0300
parents
children 2dfba21cd879 40d2e49a7219
line wrap: on
line source


println "version: $version"

task prepare(type: Copy) {
    from('src')
    from('.') {
        include 'readme.md', 'license', 'history.md', 'package.json'
    }
    into(buildDir)
}

task build(dependsOn: prepare) {
}

task pack(dependsOn: build, type: Exec) {
    workingDir = buildDir

    commandLine 'npm', 'pack'
}