File tree 4 files changed +20
-11
lines changed
4 files changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ jobs:
13
13
14
14
steps :
15
15
- uses : actions/checkout@v2
16
- - name : Set up JDK 1.8
17
- uses : actions/setup-java@v1
16
+ - name : Set up JDK 17
17
+ uses : actions/setup-java@v2
18
18
with :
19
- java-version : 1.8
20
- java-package : jdk+fx
19
+ distribution : ' temurin'
20
+ java-version : ' 17'
21
+ java-package : jdk
21
22
- name : Grant execute permission for gradlew
22
23
run : chmod +x gradlew
23
24
- name : Build with Gradle
Original file line number Diff line number Diff line change @@ -17,11 +17,12 @@ jobs:
17
17
- uses : actions/checkout@v2
18
18
with :
19
19
ref : stable
20
- - name : Set up JDK 1.8
21
- uses : actions/setup-java@v1
20
+ - name : Set up JDK 17
21
+ uses : actions/setup-java@v2
22
22
with :
23
- java-version : 1.8
24
- java-package : jdk+fx
23
+ distribution : ' temurin'
24
+ java-version : ' 17'
25
+ java-package : jdk
25
26
- name : Grant execute permission for gradlew
26
27
run : chmod +x gradlew
27
28
- name : Build with Gradle
Original file line number Diff line number Diff line change 1
- apply plugin : ' java'
2
- apply plugin : ' idea'
1
+ plugins {
2
+ id ' org.openjfx.javafxplugin' version ' 0.0.10'
3
+ }
3
4
4
5
repositories {
5
6
mavenLocal()
@@ -24,6 +25,12 @@ dependencies {
24
25
bundled ' org.jocl:jocl:2.0.2'
25
26
}
26
27
28
+ javafx {
29
+ version = ' 17'
30
+ modules = [' javafx.base' , ' javafx.controls' , ' javafx.fxml' ]
31
+ configuration = ' provided'
32
+ }
33
+
27
34
processResources {
28
35
from " src/main/opencl/include" , { into " kernel" }
29
36
}
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.7 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.2 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments