##// END OF EJS Templates
Добавлена метка v1.0.1 для набора изменений 645e2e6a0875
Добавлена метка v1.0.1 для набора изменений 645e2e6a0875

File last commit:

r3:3065e34e2bec default
r5:6b85a95594ce tip 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()}"
}
}