Jenkins Development with Gradle: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:


repositories {
repositories {
    maven {
        url "http://repo.jenkins-ci.org/releases"
    }
     mavenCentral()
     mavenCentral()
}
}
Line 16: Line 19:
dependencies {
dependencies {
     implementation 'org.codehaus.groovy:groovy-all:3.0.7'
     implementation 'org.codehaus.groovy:groovy-all:3.0.7'
    implementation 'org.eclipse.hudson:hudson-core:3.2.1'
     implementation 'com.cloudbees:groovy-cps:1.31'
     implementation 'com.cloudbees:groovy-cps:1.31'
    implementation 'org.jenkins-ci.main:jenkins-core:2.121'
}
}
</syntaxhighlight>
</syntaxhighlight>

Revision as of 02:27, 6 April 2021

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'
}