Author: taher
Date: Sun Sep 4 06:26:58 2016
New Revision: 1759143
URL:
http://svn.apache.org/viewvc?rev=1759143&view=revLog:
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
* ======================================================== */