DO-47/Tavro_pipeline (#1)
Add first classes Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Co-committed-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
This commit is contained in:
committed by
Aleksandr Vodyanov
parent
af5323092c
commit
ecc7728355
46
build.gradle
Normal file
46
build.gradle
Normal file
@@ -0,0 +1,46 @@
|
||||
apply plugin: 'groovy'
|
||||
|
||||
group = 'tech.avroid'
|
||||
version = '0.1.0'
|
||||
description = 'Jenkins Shared Library'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
url "https://repo.jenkins-ci.org/releases/"
|
||||
}
|
||||
maven {
|
||||
url "https://repo.jenkins-ci.org/public/"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.codehaus.groovy:groovy-all:3.0.2'
|
||||
implementation 'com.cloudbees:groovy-cps:1.32'
|
||||
implementation 'org.jenkins-ci.main:jenkins-core:2.164.1'
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
groovy {
|
||||
srcDirs = ['src', 'vars']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
groovydoc {
|
||||
// Set document and window titles.
|
||||
docTitle = "Avroid Shared library"
|
||||
windowTitle = "Avroid Shared library"
|
||||
|
||||
header = '''\
|
||||
<img src="http://www.mrhaki.com/images/haki-logo-black-64.png"/>
|
||||
<h2>Sample project</h2>
|
||||
'''.stripIndent()
|
||||
|
||||
// Set custom footer for generated documentation.
|
||||
footer = """\
|
||||
<div class="custom-footer">
|
||||
Generated on: ${new Date().format('yyyy-MM-dd HH:mm:ss')}
|
||||
</div>""".stripIndent()
|
||||
}
|
||||
Reference in New Issue
Block a user