-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
buildscript { | ||
dependencies { | ||
classpath group: 'de.dynamicfiles.projects.gradle.plugins', name: 'javafx-gradle-plugin', version: '8.8.2' | ||
} | ||
|
||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
} | ||
} | ||
|
||
apply plugin: 'java' | ||
|
||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
} | ||
|
||
dependencies{ | ||
// this dependency is only required when using UserJvmOptionsService | ||
// when using Oracle JDK | ||
// compile files("${System.properties['java.home']}/../lib/packager.jar") | ||
// when using OpenJFX (Ubuntu), please adjust accordingly | ||
// compile files("/usr/share/java/openjfx/lib/packager.jar") | ||
testCompile group: 'junit', name: 'junit', version: '4.12' | ||
} | ||
|
||
apply plugin: 'javafx-gradle-plugin' | ||
|
||
// these values are the examples and defaults | ||
// you won't need them all | ||
|
||
// configure javafx-gradle-plugin | ||
// for all available settings please look at the class "JavaFXGradlePluginExtension" | ||
jfx { | ||
verbose = true | ||
mainClass = "com.private_void.MainApp" | ||
jfxAppOutputDir = "build/jfx/app" | ||
jfxMainAppJarName = "CapStruct.jar" | ||
deployDir = "src/main/deploy" | ||
useEnvironmentRelativeExecutables = true | ||
libFolderName = "lib" | ||
|
||
// gradle jfxJar | ||
css2bin = false | ||
preLoader = null // String | ||
updateExistingJar = false | ||
allPermissions = false | ||
manifestAttributes = null // Map<String, String> | ||
addPackagerJar = true | ||
copyAdditionalAppResourcesToJar = false | ||
skipCopyingDependencies = false | ||
useLibFolderContentForManifestClasspath = false | ||
fixedManifestClasspath = null | ||
|
||
// gradle jfxNative | ||
identifier = null // String - setting this for windows-bundlers makes it possible to generate upgradeable installers (using same GUID) | ||
vendor = "CapStruct" | ||
nativeOutputDir = "build/jfx/native" | ||
bundler = "ALL" // set this to some specific, if your don't want all bundlers running, examples "windows.app", "jnlp", ... | ||
jvmProperties = null // Map<String, String> | ||
jvmArgs = null // List<String> | ||
userJvmArgs = null // Map<String, String> | ||
launcherArguments = null // List<String> | ||
nativeReleaseVersion = "1.0" | ||
needShortcut = false | ||
needMenu = false | ||
bundleArguments = [ | ||
// dont bundle JRE (not recommended, but increases build-size/-speed) | ||
runtime: null | ||
] | ||
appName = "CapStruct" // this is used for files below "src/main/deploy", e.g. "src/main/deploy/windows/project.ico" | ||
additionalBundlerResources = null // path to some additional resources for the bundlers when creating application-bundle | ||
additionalAppResources = null // path to some additional resources when creating application-bundle | ||
secondaryLaunchers = [[appName:"somethingDifferent"], [appName:"somethingDifferent2"]] | ||
fileAssociations = null // List<Map<String, Object>> | ||
noBlobSigning = false // when using bundler "jnlp", you can choose to NOT use blob signing | ||
customBundlers = null // List<String> | ||
failOnError = false | ||
onlyCustomBundlers = false | ||
skipJNLP = false | ||
skipNativeVersionNumberSanitizing = false // anything than numbers or dots are removed | ||
additionalJarsignerParameters = null // List<String> | ||
skipMainClassScanning = false // set to true might increase build-speed | ||
|
||
skipNativeLauncherWorkaround124 = false | ||
skipNativeLauncherWorkaround167 = false | ||
skipNativeLauncherWorkaround205 = false | ||
skipJNLPRessourcePathWorkaround182 = false | ||
skipSigningJarFilesJNLP185 = false | ||
skipSizeRecalculationForJNLP185 = false | ||
skipMacBundlerWorkaround = false | ||
|
||
// gradle jfxRun | ||
runJavaParameter = null // String | ||
runAppParameter = null // String | ||
|
||
// per default the outcome of the gradle "jarTask" will be used, set this to specify otherwise (like proguard-output) | ||
alternativePathToJarFile = null // String | ||
|
||
// to disable patching of ant-javafx.jar, set this to false | ||
usePatchedJFXAntLib = true | ||
|
||
// making it able to support absolute paths, defaults to "false" for maintaining old behaviour | ||
checkForAbsolutePaths = false | ||
|
||
// gradle jfxGenerateKeyStore | ||
keyStore = "src/main/deploy/keystore.jks" | ||
keyStoreAlias = "myalias" | ||
keyStorePassword = "darkemperor97" | ||
keyPassword = null // will default to keyStorePassword | ||
keyStoreType = "jks" | ||
overwriteKeyStore = false | ||
|
||
certDomain = null // required | ||
certOrgUnit = null // defaults to "none" | ||
certOrg = null // required | ||
certState = null // required | ||
certCountry = null // required | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Tue May 09 17:24:07 MSK 2017 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip |