diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/build.gradle	Tue Jun 26 19:35:44 2018 +0300
@@ -0,0 +1,19 @@
+
+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'
+}
\ No newline at end of file