31 lines
538 B
Groovy
31 lines
538 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.1-BUILD-SNAPSHOT"
|
|
|
|
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 |