< prev index next >

./build.gradle

Print this page


   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


1750 // them in a shared JVM or as part of the "smoke test" run (which must
1751 // not pop up any windows or use audio). As such, they are only enabled
1752 // when FULL_TEST is specified, and each test runs in its own JVM
1753 project(":systemTests") {
1754     test {
1755         enabled = IS_FULL_TEST
1756         if (!IS_USE_ROBOT) {
1757             // Disable all robot-based visual tests
1758             exclude("**/helloworld/*.*");
1759             exclude("**/javafx/embed/swing/*.*");
1760             exclude("**/javafx/scene/layout/*.*");
1761             exclude("**/test3d/*.*");
1762             exclude("**/painttest/*.*");
1763             exclude("**/renderlock/*.*");
1764         }
1765         if (!IS_AWT_TEST) {
1766             // Disable all AWT-based tests
1767             exclude("**/javafx/embed/swing/*.*");
1768             exclude("**/com/sun/javafx/application/Swing*.*");
1769         }






1770 
1771         forkEvery = 1
1772     }
1773 }
1774 
1775 project(":fxpackager") {
1776     tasks.all {
1777         if (!COMPILE_FXPACKAGER) it.enabled = false
1778     }
1779     // fxpackager has a dependency on ant in order to build the ant jar,
1780     // and as such needs to point to the apache binary repository
1781     if (!BUILD_CLOSED) {
1782         repositories {
1783             maven {
1784                 url "https://repository.apache.org"
1785             }
1786         }
1787     }
1788 
1789     dependencies {


   1 /*
   2  * Copyright (c) 2013, 2018, 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


1750 // them in a shared JVM or as part of the "smoke test" run (which must
1751 // not pop up any windows or use audio). As such, they are only enabled
1752 // when FULL_TEST is specified, and each test runs in its own JVM
1753 project(":systemTests") {
1754     test {
1755         enabled = IS_FULL_TEST
1756         if (!IS_USE_ROBOT) {
1757             // Disable all robot-based visual tests
1758             exclude("**/helloworld/*.*");
1759             exclude("**/javafx/embed/swing/*.*");
1760             exclude("**/javafx/scene/layout/*.*");
1761             exclude("**/test3d/*.*");
1762             exclude("**/painttest/*.*");
1763             exclude("**/renderlock/*.*");
1764         }
1765         if (!IS_AWT_TEST) {
1766             // Disable all AWT-based tests
1767             exclude("**/javafx/embed/swing/*.*");
1768             exclude("**/com/sun/javafx/application/Swing*.*");
1769         }
1770 
1771     dependencies {
1772         testCompile project(":graphics").sourceSets.test.output
1773         testCompile project(":base").sourceSets.test.output
1774         testCompile project(":controls").sourceSets.test.output
1775     }
1776 
1777         forkEvery = 1
1778     }
1779 }
1780 
1781 project(":fxpackager") {
1782     tasks.all {
1783         if (!COMPILE_FXPACKAGER) it.enabled = false
1784     }
1785     // fxpackager has a dependency on ant in order to build the ant jar,
1786     // and as such needs to point to the apache binary repository
1787     if (!BUILD_CLOSED) {
1788         repositories {
1789             maven {
1790                 url "https://repository.apache.org"
1791             }
1792         }
1793     }
1794 
1795     dependencies {


< prev index next >