You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ta...@apache.org on 2016/09/04 06:26:58 UTC
svn commit: r1759143 - /ofbiz/trunk/build.gradle
Author: taher
Date: Sun Sep 4 06:26:58 2016
New Revision: 1759143
URL: http://svn.apache.org/viewvc?rev=1759143&view=rev
Log:
Move the java encoding declaration to the project configuration section where it belongs - OFBIZ-8119
Modified:
ofbiz/trunk/build.gradle
Modified: ofbiz/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1759143&r1=1759142&r2=1759143&view=diff
==============================================================================
--- ofbiz/trunk/build.gradle (original)
+++ ofbiz/trunk/build.gradle Sun Sep 4 06:26:58 2016
@@ -41,6 +41,11 @@ javadoc.failOnError = false
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
+// Enforces UTF-8 java compilation encoding on Windows platform
+tasks.withType(JavaCompile) {
+ options.encoding = 'UTF-8'
+}
+
// root and subproject settings
defaultTasks 'build'
@@ -716,11 +721,6 @@ tasks.addRule('Pattern: ofbizBackground
}
}
-// Enforces UTF-8 java compilation encoding on Windows platform
-tasks.withType(JavaCompile) {
- options.encoding = 'UTF-8'
-}
-
/* ========================================================
* Helper Functions
* ======================================================== */
Re: svn commit: r1759143 - /ofbiz/trunk/build.gradle
Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks Taher,
I had a doubt
Jacques
Le 04/09/2016 � 08:26, taher@apache.org a �crit :
> Author: taher
> Date: Sun Sep 4 06:26:58 2016
> New Revision: 1759143
>
> URL: http://svn.apache.org/viewvc?rev=1759143&view=rev
> Log:
> Move the java encoding declaration to the project configuration section where it belongs - OFBIZ-8119
>
> Modified:
> ofbiz/trunk/build.gradle
>
> Modified: ofbiz/trunk/build.gradle
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1759143&r1=1759142&r2=1759143&view=diff
> ==============================================================================
> --- ofbiz/trunk/build.gradle (original)
> +++ ofbiz/trunk/build.gradle Sun Sep 4 06:26:58 2016
> @@ -41,6 +41,11 @@ javadoc.failOnError = false
> sourceCompatibility = '1.8'
> targetCompatibility = '1.8'
>
> +// Enforces UTF-8 java compilation encoding on Windows platform
> +tasks.withType(JavaCompile) {
> + options.encoding = 'UTF-8'
> +}
> +
> // root and subproject settings
> defaultTasks 'build'
>
> @@ -716,11 +721,6 @@ tasks.addRule('Pattern: ofbizBackground
> }
> }
>
> -// Enforces UTF-8 java compilation encoding on Windows platform
> -tasks.withType(JavaCompile) {
> - options.encoding = 'UTF-8'
> -}
> -
> /* ========================================================
> * Helper Functions
> * ======================================================== */
>
>
>