Files
jenkins-shared-lib/build.gradle
aleksandr.vodyanov ecc7728355 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>
2023-09-05 12:54:07 +00:00

47 lines
1.0 KiB
Groovy

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()
}