Jenkins Development with Gradle

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

build.gradle

plugins {
    id 'groovy'
}

repositories {
    maven {
        url "http://repo.jenkins-ci.org/releases"
    }
    mavenCentral()
}

dependencies {
    implementation 'org.codehaus.groovy:groovy-all:3.0.7'
    implementation 'com.cloudbees:groovy-cps:1.31'
    implementation 'org.jenkins-ci.main:jenkins-core:2.121'
}