-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
50 lines (42 loc) · 994 Bytes
/
build.gradle
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
46
47
48
49
50
buildscript {
repositories {
mavenLocal()
['releases', 'public'].each { r ->
maven {
url "${nexusBaseUrl}/repositories/${r}"
credentials {
username nexusUserName
password nexusPassword
}
}
}
}
dependencies {
classpath 'com.github.node-gradle:gradle-node-plugin:2.2.0'
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2'
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'com.github.node-gradle.node'
task createBuildDir {
doLast {
if (!buildDir.exists()) {
buildDir.mkdir()
}
}
}
task gulpBuild(type: YarnTask) {
args = ['gulp', 'build']
}
task gulpBumpRelease(type: YarnTask) {
args = ['gulp', 'bump-release']
}
yarn_install {
args = ['--mutex', 'network']
}
node {
version = '13.9.0'
yarnVersion = '1.22.0'
download = true
}