56 lines
1.3 KiB
Groovy
56 lines
1.3 KiB
Groovy
/*
|
|
* This build file was generated by the Gradle 'init' task.
|
|
*
|
|
* This generated file contains a commented-out sample Java project to get you started.
|
|
* For more details take a look at the Java Quickstart chapter in the Gradle
|
|
* user guide available at https://docs.gradle.org/4.3/userguide/tutorial_java_projects.html
|
|
*/
|
|
|
|
|
|
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
id 'eclipse'
|
|
|
|
id 'com.github.johnrengelman.shadow' version '5.0.0'
|
|
id 'org.openjfx.javafxplugin' version '0.0.7'
|
|
}
|
|
|
|
application {
|
|
mainClassName = 'sarsoo.fmframework.fx.FmFramework'
|
|
}
|
|
|
|
javafx {
|
|
version = "11"
|
|
modules = [ 'javafx.controls', 'javafx.fxml', 'javafx.graphics', 'javafx.web' ]
|
|
}
|
|
|
|
version = '0.9.0'
|
|
sourceCompatibility = 11
|
|
targetCompatibility = 11
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// The production code uses the SLF4J logging API at compile time
|
|
compileOnly 'org.slf4j:slf4j-api:1.7.25'
|
|
|
|
implementation 'com.mashape.unirest:unirest-java:1.4.9'
|
|
implementation 'org.json:json:20180813'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
}
|
|
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Implementation-Title': 'fmframework',
|
|
'Implementation-Version': version,
|
|
'Main-Class': 'sarsoo.fmframework.fx.FmFramework'
|
|
}
|
|
baseName = project.name
|
|
version = version
|
|
}
|