fmframework/build.gradle

60 lines
1.4 KiB
Groovy
Raw Normal View History

2018-06-07 22:22:08 +01:00
/*
* 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
*/
2019-05-24 10:50:08 +01:00
plugins {
id 'java'
id 'application'
id 'eclipse'
id 'com.github.johnrengelman.shadow' version '5.0.0'
2019-05-25 09:17:48 +01:00
id 'org.openjfx.javafxplugin' version '0.0.7'
2019-05-24 10:50:08 +01:00
}
2018-06-07 22:22:08 +01:00
2019-05-25 09:17:48 +01:00
application {
mainClassName = 'sarsoo.fmframework.fx.FmFramework'
}
javafx {
version = "12.0.1"
2019-05-25 09:17:48 +01:00
modules = [ 'javafx.controls', 'javafx.fxml', 'javafx.graphics', 'javafx.web' ]
}
2018-06-07 22:22:08 +01:00
2019-05-24 10:50:08 +01:00
version = '0.9.0'
2019-05-25 09:17:48 +01:00
sourceCompatibility = 11
targetCompatibility = 11
2018-06-07 22:22:08 +01:00
repositories {
mavenCentral()
}
dependencies {
// The production code uses the SLF4J logging API at compile time
2019-05-24 10:50:08 +01:00
compileOnly 'org.slf4j:slf4j-api:1.7.25'
2018-06-20 13:38:57 +01:00
2019-05-24 10:50:08 +01:00
implementation 'com.mashape.unirest:unirest-java:1.4.9'
implementation 'org.json:json:20180813'
2018-06-07 22:22:08 +01:00
2019-05-25 15:02:15 +01:00
testImplementation('org.junit.jupiter:junit-jupiter-api:5.4.2')
testRuntime('org.junit.jupiter:junit-jupiter-engine:5.4.2')
2018-06-07 22:22:08 +01:00
}
2019-05-25 15:02:15 +01:00
test {
useJUnitPlatform()
}
2019-05-24 10:50:08 +01:00
2018-06-07 22:22:08 +01:00
jar {
manifest {
attributes 'Implementation-Title': 'fmframework',
2019-05-24 10:50:08 +01:00
'Implementation-Version': version,
2018-06-07 22:22:08 +01:00
'Main-Class': 'sarsoo.fmframework.fx.FmFramework'
}
2019-05-24 10:50:08 +01:00
baseName = project.name
version = version
2018-06-07 22:22:08 +01:00
}