代码拉取完成,页面将自动刷新
plugins {
id 'groovy'
}
configurations {
integTestCompile.extendsFrom testCompile
integTestRuntime.extendsFrom testRuntime
}
allprojects {
repositories {
mavenLocal()
maven { name "alibaba"; url "https://maven.aliyun.com/repository/public" }
maven { name "jenkins-ci"; url 'https://repo.jenkins-ci.org/releases/' }
mavenCentral()
}
buildscript {
repositories {
maven { name "alibaba"; url 'https://maven.aliyun.com/repository/public' }
}
}
}
apply from: 'gradleInit/version.gradle'
group 'com.deploy'
version "${projectVersion}"
description 'JenkinsSharedLibrary'
sourceCompatibility = "${javaVersion}"
targetCompatibility = "${javaVersion}"
tasks.withType(JavaCompile) {
options.encoding = "${encoding}"
}
dependencies {
implementation "org.apache.groovy:groovy:${dv.groovy}"
implementation "cn.hutool:hutool-all:${dv.hutool}"
//noinspection VulnerableLibrariesLocal
implementation "org.yaml:snakeyaml:${dv.snakeyaml}"
//noinspection VulnerableLibrariesLocal
testImplementation "com.lesfurets:jenkins-pipeline-unit:${dv.jenkinsPipelineUnit}"
testImplementation "org.junit.jupiter:junit-jupiter-api:${dv.junit}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${dv.junit}"
}
test {
useJUnitPlatform()
}
sourceSets {
main {
groovy {
srcDirs = ['src', 'vars']
}
resources {
srcDirs = ['resources']
}
}
test {
groovy {
srcDirs = ['test']
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。