Skip to content

Commit

Permalink
Working on the build
Browse files Browse the repository at this point in the history
  • Loading branch information
farmdawgnation committed Feb 7, 2021
1 parent 6591036 commit c7c265f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
File renamed without changes.
17 changes: 17 additions & 0 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: PR CI

on:
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11.0
uses: actions/setup-java@v1
with:
java-version: 11.0
- name: Compile
run: ./gradlew lib:compileJava lib:compileIntegrationTestJava lib:compileTestJava
19 changes: 19 additions & 0 deletions lib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
plugins {
id 'java-library'
id "com.github.johnrengelman.shadow" version "6.1.0"
}

group = "me.frmr.rundeck"

repositories {
mavenCentral()
}
Expand Down Expand Up @@ -46,3 +49,19 @@ task integrationTest(type: Test) {
tasks.withType(Test) {
useJUnitPlatform()
}

shadowJar {
archiveName 'rundeck-kms-plugin-all.jar'
zip64 true
manifest {
attributes(
'Rundeck-Plugin-Version': '1.2',
'Rundeck-Plugin-Archive': 'true',
'Rundeck-Plugin-Classnames': 'me.frmr.rundeck.KmsConverterPlugin',
'Rundeck-Plugin-Author': 'Matt Farmer',
'Rundeck-Plugin-URL': 'https://github.com/farmdawgnation/rundeck-kms-plugin',
'Rundeck-Plugin-Date': '2020-02-07',
'Rundeck-Plugin-File-Version': '1.0'
)
}
}

0 comments on commit c7c265f

Please sign in to comment.