1 #
   2 # Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 #####################################################################################
  27 #                                                                                   #
  28 # This properties file allows for a developer to override various properties used   #
  29 # when building JavaFX. Any settings you configure in the gradle.properties file    #
  30 # will have precedence over any values specified in the build script itself.        #
  31 #                                                                                   #
  32 #####################################################################################
  33 
  34 # By default, the build will 'fail fast' if the version of gradle is incompatible.
  35 # Set this flag to false to have it print a warning and try to build anyway.
  36 
  37 #GRADLE_VERSION_CHECK = false
  38 
  39 # These properties give developers the chance to skip building WebKit and/or
  40 # GStreamer. WebKit takes a fair amount of time to build (more than 50% of the
  41 # overall full build time is taken by WebKit), so allowing a developer to
  42 # selectively enable building of WebKit is important. To build WebKit or
  43 # GStreamer, uncomment the appropriate lines below.
  44 
  45 #COMPILE_WEBKIT = true
  46 #COMPILE_MEDIA = true
  47 
  48 # Specifies whether to include the Null3D pipeline, which can be used for
  49 # performance debugging.
  50 # Uncomment this flag in order to include the Null3D pipeline in the build.
  51 
  52 #INCLUDE_NULL3D = true
  53 
  54 # Specifies whether to include the ES2 graphics pipeline.
  55 # By default, this pipeline is not included on the Windows platform.
  56 # Uncomment this flag in order to include the ES2 pipeline in the build.
  57 
  58 #INCLUDE_ES2 = true
  59 
  60 # Specifies whether to build SDK for running unit tests
  61 # By default, it is set to true and the tests are running of the
  62 # fresh-built SDK. If set to false, this flag removes main sources
  63 # compilation tasks and building the whole SDK. The existing SDK is used
  64 # instead, and must have been previously built
  65 
  66 #BUILD_SDK_FOR_TEST = false
  67 
  68 # Specifies whether to do a full test run or a "smoke test" run. By default we
  69 # do a smoke test run which excludes all tests that show a window or play media.
  70 # Certain long running tests might also be excluded when this is not set.
  71 
  72 #FULL_TEST = true
  73 
  74 # Specifies whether to enable robot-based visual tests when running a full test.
  75 # This flag is ignored if FULL_TEST is false.
  76 
  77 #USE_ROBOT = true
  78 
  79 # Specifies whether to run unstable tests, that are not suitable for automated builds
  80 
  81 #UNSTABLE_TEST = false
  82 
  83 # Specifies whether to run system tests that depend on AWT.
  84 # This flag is ignored if FULL_TEST is false.
  85 
  86 #AWT_TEST = false
  87 
  88 # Specifies whether to run system tests that depend on SWT.
  89 # This flag is ignored if FULL_TEST is false.
  90 
  91 #SWT_TEST = false
  92 
  93 # Specifies whether or not the results of the packager tests should be
  94 # retained.  If not they will be automatically deleted.
  95 
  96 #RETAIN_PACKAGER_TESTS = false
  97 
  98 # Specifies whether or not Packager DMG tests should be run.
  99 # Mac OSX 10.7 tends to hang on automated builds with hdiutil is run,
 100 # hence the default is false.
 101 
 102 #TEST_PACKAGER_DMG = false
 103 
 104 # Specify the COMPILE_TARGETS when performing cross compiles. A Cross-Compile is
 105 # when you build for a platform other than the one you are building on. For example,
 106 # to build for Apple iOS, you would specify ios as one of the COMPILE_TARGETS.
 107 # The case is not significant. Valid cross build targets for each OS include:
 108 #
 109 #   OS             Target
 110 #  ------------------------------
 111 #   Mac             mac
 112 #   Mac             ios
 113 #   Mac             swt
 114 #   Mac             android
 115 #   Linux           linux
 116 #   Linux           armv6hf
 117 #   Linux           armv6sf
 118 #   Linux           swt
 119 #   Linux           android
 120 #   Windows         win
 121 #   Windows         swt
 122 #   Window          android
 123 #
 124 # The compile targets are listed as a comma separated list. Alternatively,
 125 # you can set COMPILE_TARGETS to "all" and every appropriate compile target
 126 # for your current machine configuration will be used. We will look up and
 127 # determine whether, for example, you have the Android tools installed and
 128 # only build Android if those tools are installed.
 129 #
 130 # If you manually specify a compile target which cannot be built, then the
 131 # build will fail. If you specify "all" then only those targets which can
 132 # be built will be attempted. For example, if your system is missing the
 133 # required toolchains for embedded builds, then armv6 builds would not
 134 # even be attempted when "all" is set.
 135 
 136 #COMPILE_TARGETS = all
 137 
 138 # The JDK_HOME must either be specified or will be inferred based on the JDK / JRE used to
 139 # execute Gradle. From the JDK_HOME are derived the JAVA, JAVAC, JAVAH, JAVADOC, and STUB_RUNTIME
 140 # properties, although each of these may be specified individually. In addition, the LIBRARY_STUB
 141 # property is derived from STUB_RUNTIME. Normally the gradle build
 142 # will work based on whatever "java" is being used to run gradle. It does this by looking for
 143 # a JDK relative to the bin/java location. However if you want to build with a different JDK than
 144 # what is used to execute Gradle, or to fix a failed attempt by the build script to locate the
 145 # JDK_HOME, you may want to specify it manually here.
 146 
 147 #JDK_HOME = /path/to/the/jdk
 148 #JAVA = /path/to/the/jdk/bin/java
 149 #JAVAC = /path/to/the/jdk/bin/javac
 150 #JAVAH = /path/to/the/jdk/bin/javah
 151 #JAVADOC = /path/to/the/jdk/bin/javadoc
 152 #STUB_RUNTIME = /path/to/the/jdk/jre
 153 #LIBRARY_STUB = /path/to/the/jdk/jre/xxx (different location depending on platform)
 154 
 155 # The generated JavaDocs contain many references to core JDK classes such as java.lang.String
 156 # and java.util.concurrent.Executor. These references are resolved via the JDK_DOCS property,
 157 # which should point to the JDK API documentation. You can override which JDK to point to here.
 158 # This follows the rules specified in the JavaDoc tool documentation. Examples are below.
 159 
 160 #JDK_DOCS = https://docs.oracle.com/javase/8/docs/api
 161 #JDK_DOCS = file:///Library/Java/JavaVirtualMachines/jdk1.8.0/Content/Home/docs/api
 162 #JDK_DOCS = relative/path/to/docs/api
 163 
 164 # Specify the build configuration: Release, Debug, or DebugNative. The default setting is Debug.
 165 
 166 #CONF = Release
 167 
 168 # Gradle 1.x incremental compilation
 169 #
 170 # Enables the use of the "use depend" feature. This speeds up incremental builds, but at the
 171 # cost of accuracy. Under normal circumstances, if you modify a single source file in the
 172 # "base" project, a near-complete recompile of the entire project is required for correctness
 173 # since that change *may* have caused other files to no longer compile / link correctly.
 174 # However, in many cases this is just additional compilation overhead because you may have
 175 # only added comments or performed some other work that didn't change the public API in any
 176 # way. By setting "use depend" to true, the build system will do more extensive analysis to
 177 # only recompile those classes directly impacted by your change. In some cases this will miss
 178 # compiling some classes that really do require recompilation and your build will be faulty.
 179 # This flag is enabled by default for command line builds. Uncomment to turn it off "use depend"
 180 
 181 #USE_DEPEND = false
 182 
 183 # Gradle 2.x incremental compilation
 184 #
 185 # Enables the use of the (still incubating) incremental Java compilation feature. This
 186 # should speed up incremental builds of the Java classes, but is not yet working correctly.
 187 #
 188 # This flag is disabled by default. Uncomment this to turn it on.
 189 
 190 #INCREMENTAL = true
 191 
 192 # Specify an option to -Xdoclint, such as "none" or "all" (default),
 193 # used by the javadoc task.
 194 
 195 #DOC_LINT = none
 196 
 197 # Specify compiler LINT arguments. These values are defined by the javac compiler. You can
 198 # study the list of available options here https://docs.oracle.com/javase/7/docs/technotes/tools/solaris/javac.html
 199 # If LINT is empty, then no warning are generated. Otherwise, LINT should be a space or comma separated
 200 # list of names. If the name is prefixed with a '-' then that warning is removed (not used). For example:
 201 #
 202 # LINT = static try -varags
 203 #
 204 # This command would turn on the "static" and "try" warnings, but turn off the "varargs" warnings. The
 205 # special values "all" and "none" are used to turn on all recommended warnings, or turn them all off, respectively.
 206 # The default (for now) is "none" but as we clean up our warnings, we will likely change this to "all".
 207 
 208 #LINT = all
 209 
 210 # The following flag specifies whether to generate code coverage
 211 # statistics when running tests
 212 
 213 #JCOV = true
 214 
 215 # Define the number of threads to use when compiling native code. This value must be
 216 # > 0, or the build system will default to 1. If not specified, the number of compile
 217 # threads is determined based on the number of CPU cores on the machine. If this value
 218 # is too high, the amount of time servicing the threads will start slowing down your
 219 # build. Likely the optimal value is somewhat larger than the number of cores on the
 220 # machine, and playing with this value may improve build time performance.
 221 
 222 #NUM_COMPILE_THREADS = 12
 223 
 224 # When you are working from behind a proxy and attempting to access public libraries, you need
 225 # to set the proxy host and port.
 226 
 227 #systemProp.http.proxyHost=proxy.my.com
 228 #systemProp.http.proxyPort=80
 229 
 230 # In order to enable Android builds, you must specify the paths to the Android SDK and NDK.
 231 # Uncomment the two lines below and configure them to point to the right location on your system
 232 
 233 #ANDROID_SDK = /path/to/android/sdk
 234 #ANDROID_NDK = /path/to/android/ndk
 235 
 236 # The COMPILE_FLAGS_FILES defines the native compilation flags to use. Each native project
 237 # defines a pair of flags, XXX_CC_FLAGS and XXX_LINK_FLAGS as defined below:
 238 #
 239 #   Project         Flags
 240 #  -----------------------------------
 241 #   Glass           GLASS_CC_FLAGS, GLASS_LINK_FLAGS
 242 #   Decora          DECORA_CC_FLAGS, DECORA_LINK_FLAGS
 243 #   Prism           PRISM_CC_FLAGS, PRISM_LINK_FLAGS
 244 #   Prism SW        PRISM_SW_CC_FLAGS, PRISM_SW_LINK_FLAGS
 245 #   Launcher        LAUNCHER_CC_FLAGS, LAUNCHER_LINK_FLAGS
 246 #
 247 # Other projects may use CC_FLAGS and LINK_FLAGS, or may not be fully abstracted out yet.
 248 # As such, the set of flags a COMPILE_FLAGS_FILES must support will change as time goes on.
 249 # Setting a custom COMPILE_FLAGS_FILE should be something rarely done, usually by
 250 # somebody who is setting up builds for a new compile target.
 251 #
 252 # The COMPILE_FLAGS_FILES is a gradle file and is applied directly by build.gradle.
 253 # This means that the file can implement logic (if / loop / etc) and has access to all of
 254 # the properties defined for the build.
 255 #
 256 # If not specified, the appropriate COMPILE_FLAGS_FILES for the designated COMPILE_TARGETS
 257 # will be chosen automatically. For example, win.gradle will be used when compiling on
 258 # windows, and armhf.gradle will be picked up when compiling for armhf (such as for
 259 # the Raspberry PI).
 260 #
 261 # Paths for those properties that take a path should be absolute or relative paths, or they
 262 # should be full URLs. For example:
 263 #
 264 #       COMPILE_FLAGS_FILES = foo.gradle
 265 #       COMPILE_FLAGS_FILES = ../foo.gradle
 266 #       COMPILE_FLAGS_FILES = bar/foo.gradle
 267 #       COMPILE_FLAGS_FILES = file:///path/to/foo.gradle
 268 #
 269 
 270 #COMPILE_FLAGS_FILES = path/to/flags/file.gradle, path/to/flags/file2.gradle
 271 
 272 # Define settings used when creating the VersionInfo. These settings are generally left alone
 273 # by developers and set only from Hudson.
 274 
 275 #HUDSON_JOB_NAME = not_hudson
 276 #HUDSON_BUILD_NUMBER = 0000
 277 #PROMOTED_BUILD_NUMBER = 00
 278 #PRODUCT_NAME = OpenJFX
 279 
 280 # Define the default SDK path on Mac. This should need to be rarely, if ever set.
 281 
 282 # MACOSX_SDK_PATH = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk