Mercurial > pub > ImplabJs
changeset 30:2dfba21cd879
sync
author | cin |
---|---|
date | Wed, 27 Jun 2018 02:46:14 +0300 |
parents | acdcdf1a8d21 |
children | 1dc2fd263b90 |
files | core/build.gradle |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/core/build.gradle Tue Jun 26 19:35:44 2018 +0300 +++ b/core/build.gradle Wed Jun 27 02:46:14 2018 +0300 @@ -1,12 +1,17 @@ - -println "version: $version" +println "version: $project.version $foo" task prepare(type: Copy) { - from('src') + from('src/js') from('.') { include 'readme.md', 'license', 'history.md', 'package.json' } into(buildDir) + + doLast { + exec { + commandLine 'npm', 'version', version + } + } } task build(dependsOn: prepare) {