-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
45 lines (37 loc) · 866 Bytes
/
Copy pathbuild.gradle
File metadata and controls
45 lines (37 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'com.moowork.gradle:gradle-node-plugin:1.0.1'
}
}
group = 'jsug.flaky'
version = '0.0.1-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'com.moowork.node'
apply plugin: 'com.moowork.gulp'
node {
version = '4.4.7'
npmVersion = '3.10.5'
download = true
}
gulp_build.dependsOn 'npmInstall'
gulp_build.dependsOn 'installGulp'
processResources.dependsOn gulp_build
def jsBuildDir = project.buildDir.absolutePath + '/dist'
jar {
baseName = 'flaky-frontend-ui'
from jsBuildDir
includeEmptyDirs = false
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "file:${System.getProperty('user.home')}/.m2/repository")
}
}
}