-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
37 lines (30 loc) · 1.56 KB
/
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
apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/release/javafx.plugin'
apply plugin: 'idea'
javafx {
mainClass = 'com.slevinbe.eventmanager.Main'
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.roboguice', name: 'roboguice', version: '2.0'
}
//gradle -PDIR=E:/Users/Yennick_2/Development/JavaFx/JavaFx-structure-demo/build/android -PNAME=ANDROID_JAVAFX -PANDROID_SDK="E:/Program Files/sdks/adt-bundle-windows/sdk" -PPACKAGE=com.slevinbe.eventmanager -PJFX_SDK="E:/Program Files/sdks/Javafx-android-sdk-b1" -PJFX_APP=E:/Users/Yennick_2/Development/JavaFx/JavaFx-structure-demo/build/distributions -PJFX_MAIN=com.slevinbe.eventmanager.Main createProject
/*StartParameter commandLineArguments = new StartParameter();
commandLineArguments.setSystemPropertiesArgs([
'DIR': 'E:\\Users\\Yennick_2\\Development\\JavaFx\\JavaFx-structure-demo\\build\\android',
'NAME': 'ANDROID_JAVAFX',
'ANDROID_SDK': "E:/Program Files/sdks/adt-bundle-windows/sdk",
'PACKAGE': "com.slevinbe.eventmanager",
'JFX_SDK': 'E:\\Program Files\\sdks\\Javafx-android-sdk-b1',
'JFX_APP': 'E:\\Users\\Yennick_2\\Development\\JavaFx\\JavaFx-structure-demo\\build\\distributions',
'JFX_MAIN': 'com.slevinbe.eventmanager.MAIN'
])
task buildAndroid(type: GradleBuild, dependsOn: 'jfxDeploy') {
buildFile = 'E:\\Program Files\\sdks\\Javafx-android-sdk-b1\\android-tools\\build.gradle'
tasks = ['createProject']
startParameter = commandLineArguments
}*/
task wrapper(type: Wrapper) {
gradleVersion = '1.4'
}