File tree Expand file tree Collapse file tree 4 files changed +44
-2
lines changed
Expand file tree Collapse file tree 4 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+ name : Java CI with Gradle
5+
6+ on :
7+ push :
8+ branches : [ main ]
9+ pull_request :
10+ branches : [ main ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : Set up JDK 11
20+ uses : actions/setup-java@v2
21+ with :
22+ java-version : ' 11'
23+ distribution : ' adopt'
24+ cache : gradle
25+ - name : Grant execute permission for gradlew
26+ run : chmod +x gradlew
27+ - name : Build with Gradle
28+ run : ./gradlew build
29+ - uses : actions/upload-artifact@v2
30+ with :
31+ name : Package
32+ path : build/libs
Original file line number Diff line number Diff line change 11# TESTAR Model Difference
2+ [ ![ Java CI with Gradle] ( https://github.com/TESTARtool/Model-Difference/actions/workflows/pipeline.yml/badge.svg )] ( https://github.com/TESTARtool/Model-Difference/actions/workflows/pipeline.yml )
23[ ![ License] ( https://img.shields.io/badge/License-BSD%203--Clause-blue.svg )] ( https://opensource.org/licenses/BSD-3-Clause )
34
45TESTAR tool repository that contains the State Model Difference feature
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
44}
55
66group ' nl.ou.testar'
7- version ' 0. 1.0-init '
7+ version ' 1.0.0 '
88
99repositories {
1010 mavenCentral()
@@ -26,6 +26,15 @@ test {
2626 useJUnitPlatform()
2727}
2828
29+ jar {
30+ manifest {
31+ attributes ' Main-Class' : ' Program'
32+ }
33+ from {
34+ configurations. runtimeClasspath. collect {it. isDirectory() ? it: zipTree(it)}
35+ }
36+ }
37+
2938sonarqube {
3039 properties {
3140 property " sonar.projectKey" , " model-difference"
Original file line number Diff line number Diff line change 1818import java .util .logging .Level ;
1919import java .util .logging .Logger ;
2020
21- public class Main {
21+ public class Program {
2222
2323 public static void main (String [] args ) {
2424
You can’t perform that action at this time.
0 commit comments