File tree 4 files changed +44
-2
lines changed
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 1
1
# 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 )
2
3
[ ![ License] ( https://img.shields.io/badge/License-BSD%203--Clause-blue.svg )] ( https://opensource.org/licenses/BSD-3-Clause )
3
4
4
5
TESTAR tool repository that contains the State Model Difference feature
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
4
4
}
5
5
6
6
group ' nl.ou.testar'
7
- version ' 0. 1.0-init '
7
+ version ' 1.0.0 '
8
8
9
9
repositories {
10
10
mavenCentral()
@@ -26,6 +26,15 @@ test {
26
26
useJUnitPlatform()
27
27
}
28
28
29
+ jar {
30
+ manifest {
31
+ attributes ' Main-Class' : ' Program'
32
+ }
33
+ from {
34
+ configurations. runtimeClasspath. collect {it. isDirectory() ? it: zipTree(it)}
35
+ }
36
+ }
37
+
29
38
sonarqube {
30
39
properties {
31
40
property " sonar.projectKey" , " model-difference"
Original file line number Diff line number Diff line change 18
18
import java .util .logging .Level ;
19
19
import java .util .logging .Logger ;
20
20
21
- public class Main {
21
+ public class Program {
22
22
23
23
public static void main (String [] args ) {
24
24
You can’t perform that action at this time.
0 commit comments