Merge pull request #424 from lkishalmi/nb112_enhancements

Nb112 enhancements
diff --git a/netbeans.apache.org/src/content/download/nb112/index.asciidoc b/netbeans.apache.org/src/content/download/nb112/index.asciidoc
index b73b79c..d5c7818 100644
--- a/netbeans.apache.org/src/content/download/nb112/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/nb112/index.asciidoc
@@ -42,14 +42,14 @@
 
 The highlights of enhancements in the Java area are focused on support for JDK 13.
 
-- JEP 354: Switch Expressions (Preview Feature): link:https://openjdk.java.net/jeps/354[https://openjdk.java.net/jeps/354]
+- link:https://openjdk.java.net/jeps/354[JEP 354]: Switch Expressions (Preview Feature): 
 
 [.feature]
 --
 image::jdk13-yield.png[role="left", link="jdk13-yield.png"]
 -- 
 
-- JEP 355: Text Blocks (Preview Feature): link:https://openjdk.java.net/jeps/355[https://openjdk.java.net/jeps/355]
+- link:https://openjdk.java.net/jeps/355[JEP 355]: Text Blocks (Preview Feature)
 
 [.feature]
 --
@@ -58,7 +58,7 @@
 
 TIP: link:https://openjdk.java.net/jeps/12[JEP 12] provides for a preview language or VM feature, which "is a new feature of the Java SE Platform that is fully specified, fully implemented, and yet impermanent. It is available in a JDK feature release to provoke developer feedback based on real world use; this may lead to it becoming permanent in a future Java SE Platform".
 
-Preview features can only be used if the Java compiler's "--enable-preview" flag is set, as shown below for Maven. 
+Preview features can only be used if the Java compiler's `--enable-preview` flag is set, as shown below for Maven. 
 
 [source,xml]
 ----
@@ -77,6 +77,17 @@
 </build>
 ----
 
+An example to add `--enable-preview` in Gradle:
+
+[source,groovy]
+----
+tasks.withType(JavaCompile).each {
+    it.options.compilerArgs.add('--enable-preview')
+}
+
+run.jvmArgs(['--enable-preview'])
+----
+
 === PHP
 
 The highlights of enhancements in the PHP area are focused on support for PHP 7.4.
@@ -88,41 +99,52 @@
 
 Highlights of PHP 7.4 integration are listed below.
 
-- PHP RFC: Typed Properties 2.0: link:https://wiki.php.net/rfc/typed_properties_v2[https://wiki.php.net/rfc/typed_properties_v2]
-- PHP RFC: Null Coalescing Assignment Operator: link:https://wiki.php.net/rfc/null_coalesce_equal_operator[https://wiki.php.net/rfc/null_coalesce_equal_operator]
-- PHP RFC: Spread Operator in Array Expression: link:https://wiki.php.net/rfc/spread_operator_for_array[https://wiki.php.net/rfc/spread_operator_for_array]
-- PHP RFC: Arrow Functions 2.0: link:https://wiki.php.net/rfc/arrow_functions_v2[https://wiki.php.net/rfc/arrow_functions_v2]
-- PHP RFC: Numeric Literal Separator: link:https://wiki.php.net/rfc/numeric_literal_separator[https://wiki.php.net/rfc/numeric_literal_separator]
-- PHP RFC: New custom object serialization mechanism: link:https://wiki.php.net/rfc/custom_object_serialization[https://wiki.php.net/rfc/custom_object_serialization]
+- PHP RFC: link:https://wiki.php.net/rfc/typed_properties_v2[Typed Properties 2.0]
+- PHP RFC: link:https://wiki.php.net/rfc/null_coalesce_equal_operator[Null Coalescing Assignment Operator]
+- PHP RFC: link:https://wiki.php.net/rfc/spread_operator_for_array[Spread Operator in Array Expression]
+- PHP RFC: link:https://wiki.php.net/rfc/arrow_functions_v2[Arrow Functions 2.0]
+- PHP RFC: link:https://wiki.php.net/rfc/numeric_literal_separator[Numeric Literal Separator]
+- PHP RFC: link:https://wiki.php.net/rfc/custom_object_serialization[New Custom Object Serialization Mechanism]
 
 Further details on new support for PHP 7.4 features are provided link:https://cwiki.apache.org/confluence/display/NETBEANS/11.2+Feature%3A+PHP[here].
 
 == Enhancements and Fixes
 
-Closed issues for 11.2: link:https://github.com/apache/netbeans/milestone/3?closed=1[https://github.com/apache/netbeans/milestone/3?closed=1]
-
 The highlights of the enhancements and fixes are listed below.
 
+See link:https://github.com/apache/netbeans/milestone/3?closed=1[the closed pull requests for 11.2] for details.
+
 === Enhancements
 
-- JavaScript parser is now correctly licensed and no longer needs to be installed separately: link:https://github.com/apache/netbeans/pull/1407[https://github.com/apache/netbeans/pull/1407]
-- Enhancement to the installer enables subsets of Apache NetBeans to be installed: https://github.com/apache/netbeans/pull/1505
-- Performance enhancement: link:https://github.com/apache/netbeans/pull/1430[https://github.com/apache/netbeans/pull/1430]
-- Upgraded Payara support to Payara Platform 5.193: link:https://github.com/apache/netbeans/pull/1470[https://github.com/apache/netbeans/pull/1470]
-- Various Gradle enhancements, include being able to read JVM arguments, such as the JDK's "--enable-preview": link:https://github.com/apache/netbeans/pulls?q=is%3Apr+label%3AGradle+is%3Aclosed[https://github.com/apache/netbeans/pulls?q=is%3Apr+label%3AGradle+is%3Aclosed]
-- Amazon-related updates: link:https://github.com/apache/netbeans/pull/1312[https://github.com/apache/netbeans/pull/1312]
-- HTML5 attribute syntax support: link:https://github.com/apache/netbeans/pull/1380[https://github.com/apache/netbeans/pull/1380]
-- Cleaned up Welcome Screen no longer refers to Oracle backends: link:https://github.com/apache/netbeans/pull/1457[https://github.com/apache/netbeans/pull/1457]
+==== Performance
+
+- Speed up finding binaries for source files, most notable performance increase on refactoring. (link:https://github.com/apache/netbeans/pull/1430[PR-1430])
+- Using Java NIO2 Watchers on Windows and Linux (link:https://github.com/apache/netbeans/pull/1349[PR-1349])
+- Optimized the archive file detection (link:https://github.com/apache/netbeans/pull/1422[PR-1422])
+
+==== Gradle
+
+- The Gradle Plugin now can read the compiler arguments, enabling the IDE support for Java preview features on Gradle projects as well. (link:https://github.com/apache/netbeans/pull/1494[PR-1494])
+- Gradle now can accepts user input from its output tab. (link:https://github.com/apache/netbeans/pull/1461[PR-1461])
+- NetBeans honors the project's `org.gradle.jvmargs` property when launching Gradle Daemon (link:https://github.com/apache/netbeans/pull/1501[PR-1501]) 
+
+==== Other
+- JavaScript parser is now correctly licensed and no longer needs to be installed separately (link:https://github.com/apache/netbeans/pull/1407[PR-1407])
+- Enhancement to the installer enables subsets of Apache NetBeans to be installed (link:https://github.com/apache/netbeans/pull/1505[PR-1505])
+- Upgraded Payara support to Payara Platform 5.193 (link:https://github.com/apache/netbeans/pull/1470[PR-1470])
+- Amazon-related updates (link:https://github.com/apache/netbeans/pull/1312[PR-1312])
+- HTML5 attribute syntax support (link:https://github.com/apache/netbeans/pull/1380[PR-1380])
+- Cleaned up Welcome Screen no longer refers to Oracle backends (link:https://github.com/apache/netbeans/pull/1457[PR-1457])
 
 === Fixes
 
-- Maven-based NetBeans modules can now be created again: link:https://github.com/apache/netbeans/commit/9e32a853c38f2b7514a42a3395a673d8ad06300f[https://github.com/apache/netbeans/commit/9e32a853c38f2b7514a42a3395a673d8ad06300f]
-- "Copy Dependent Libraries" in Ant-based projects works again: link:https://github.com/apache/netbeans/pull/1469[https://github.com/apache/netbeans/pull/1469]
-- OpenJFX Gluon samples are now correctly registered: link:https://github.com/apache/netbeans/pull/1503[https://github.com/apache/netbeans/pull/1503]
+- Maven-based NetBeans modules can now be created again (link:https://github.com/apache/netbeans/commit/9e32a853c38f2b7514a42a3395a673d8ad06300f[commit 9e32a85])
+- "Copy Dependent Libraries" in Ant-based projects works again (link:https://github.com/apache/netbeans/pull/1469[PR-1469])
+- OpenJFX Gluon samples are now correctly registered (link:https://github.com/apache/netbeans/pull/1503[PR-1503])
 
 == Notes
 
-- The donation of the NetBeans C and C&#x2b;&#x2b; features from Oracle to Apache was not complete at the time of the 11.2 release, though it is not far off, and the 11.3 release (January 2020) is scheduled to focus primarily on the integration of the C and C++ features, once they land in the Apache NetBeans GitHub. Until then, go to the Plugin Manager, enable the NetBeans IDE 8.2 Update Center, which lets you install the NetBeans IDE 8.2 modules providing C and C&#x2b;&#x2b; features.
+- The donation of the NetBeans C and C++ features from Oracle to Apache was not complete at the time of the 11.2 release, though it is not far off, and the 11.3 release (January 2020) is scheduled to focus primarily on the integration of the C and C++ features, once they land in the Apache NetBeans GitHub. Until then, go to the Plugin Manager, enable the NetBeans IDE 8.2 Update Center, which lets you install the NetBeans IDE 8.2 modules providing C and C&#x2b;&#x2b; features.
 - WildFly integration is supported by means of the link:http://plugins.netbeans.org/plugin/76472/wildfly-application-server[WildFly Application Server] plugin located in the Plugin Portal.
-- Support for JSF 2.3 is available as a pull request, too late for inclusion in 11.2, scheduled for 11.3: link:https://github.com/apache/netbeans/pull/1576[https://github.com/apache/netbeans/pull/1576]
+- Support for JSF 2.3 is available as a pull request, too late for inclusion in link:https://github.com/apache/netbeans/milestone/3[11.2], scheduled for link:https://github.com/apache/netbeans/milestone/4[11.3]: link:https://github.com/apache/netbeans/pull/1576[PR-1576]