##// END OF EJS Templates
java/org/implab/gradle/Utils rmoved to org/implab/gradle/mercurial/Utils to resolve conflicts with other plugins
java/org/implab/gradle/Utils rmoved to org/implab/gradle/mercurial/Utils to resolve conflicts with other plugins

File last commit:

r3:3065e34e2bec default
r4:645e2e6a0875 v1.0.1 default
Show More
build.gradle
37 lines | 927 B | text/x-groovy | GroovyLexer
plugins {
id "java-gradle-plugin"
id "com.gradle.plugin-publish" version "0.20.0"
// Apply the Maven Publish Plugin to have it generate the publication metadata
id 'maven-publish'
}
repositories {
mavenCentral()
}
gradlePlugin {
plugins {
mercurialPlugin {
id = 'org.implab.gradle-mercurial'
implementationClass = 'org.implab.gradle.mercurial.MercurialPlugin'
}
}
}
pluginBundle {
website = 'https://code.implab.org/implab/gradle-mercurial-plugin'
vcsUrl = 'https://code.implab.org/implab/gradle-mercurial-plugin'
plugins {
mercurialPlugin {
displayName = "Integrates mercurial into the build script"
description = 'Automatically calculates version using tags. Simple wrapper around cli.'
tags = ['hg', 'mercurial', 'versioning']
}
}
}
task printVersion {
doLast {
println "${->jar.archiveFileName.get()}"
}
}