ossez-doc-resources/build.gradle

37 lines
607 B
Groovy

plugins {
id 'distribution'
id 'maven-publish'
id 'com.moowork.node' version '1.2.0'
id "com.moowork.gulp" version '1.2.0'
}
group = 'io.spring.docresources'
description = 'Spring Documentation Resources'
version = "0.1.0-BUILD-SNAPSHOT"
node {
version = '11.2.0'
npmVersion = '6.4.1'
download = true
}
distributions {
main {
baseName = 'spring-doc-resources'
contents {
from { "${buildDir}/dist" }
into '/'
}
}
}
publishing {
publications {
maven(MavenPublication) {
artifact distZip
}
}
}
gulp_default.dependsOn 'npmInstall', 'installGulp'
distZip.dependsOn gulp_default