Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Commit plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
puthrayaharness committed Sep 19, 2023
1 parent 1bbe95f commit c03a378
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ test-output
/buildSrc/.gradle/
jenkins-client/build/
jenkins-client-it-docker/build/
buildSrc/
.gradle/
13 changes: 13 additions & 0 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* This file was generated by the Gradle 'init' task.
*/

plugins {
// Support convention plugins written in Groovy. Convention plugins are build scripts in 'src/main' that automatically become available as plugins in the main build.
id 'groovy-gradle-plugin'
}

repositories {
// Use the plugin portal to apply community plugins in convention plugins.
gradlePluginPortal()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* This file was generated by the Gradle 'init' task.
*/

plugins {
id 'java-library'
id 'maven-publish'
}

repositories {
mavenLocal()
maven {
url = uri('https://repo.jenkins-ci.org/public/')
}

maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}

group = 'com.offbytwo.jenkins'
version = '0.4.0-SNAPSHOT'
java.sourceCompatibility = JavaVersion.VERSION_1_8

publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
}

0 comments on commit c03a378

Please sign in to comment.