ossez-doc-resources/build.gradle

37 lines
575 B
Groovy
Raw Normal View History

2018-11-20 09:00:32 -05:00
plugins {
id 'distribution'
id 'maven-publish'
id 'com.moowork.node' version '1.2.0'
id "com.moowork.gulp" version '1.2.0'
2018-11-20 09:00:32 -05:00
}
group = 'io.spring.docresources'
description = 'Spring Documentation Resources'
node {
version = '11.2.0'
npmVersion = '6.4.1'
download = true
}
2018-11-20 09:00:32 -05:00
distributions {
main {
baseName = 'spring-doc-resources'
contents {
from { "${buildDir}/dist" }
into '/'
2018-11-20 09:00:32 -05:00
}
}
}
publishing {
publications {
maven(MavenPublication) {
artifact distZip
}
}
}
2018-11-20 09:00:32 -05:00
gulp_default.dependsOn 'npmInstall', 'installGulp'
2018-12-10 06:50:18 -05:00
distZip.dependsOn gulp_default