forked from JPro-one/HelloJPro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (49 loc) · 1003 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
****************** Script Configuration ******************
*/
buildscript {
repositories {
jcenter()
gradlePluginPortal()
maven {
url "https://sandec.jfrog.io/artifactory/repo"
}
}
dependencies {
classpath 'one.jpro:jpro-gradle-plugin:2023.1.0'
}
}
/**
****************** Java Configuration ******************
*/
plugins {
id 'org.openjfx.javafxplugin' version '0.0.13'
}
compileJava {
sourceCompatibility = 11
targetCompatibility = 11
}
repositories {
jcenter()
}
javafx {
version = '17.0.6'
modules = [ 'javafx.graphics', 'javafx.controls', 'javafx.fxml', 'javafx.media', 'javafx.web' ]
}
/**
****************** JPro Configuration ******************
*/
apply plugin: 'jpro-gradle-plugin'
/**
* App Main Class
*/
//mainClassName = 'one.jpro.hellojpro.HelloJPro'
mainClassName = 'one.jpro.hellojpro.HelloJProFXML'
application {
mainModule = moduleName
}
jpro {
JVMArgs << '-Xmx1000m'
// jpro server port
port = 8080
}