Commit graph

13 commits

Author SHA1 Message Date
strump
4deaabdce4 Added default encoding for Java source code
On Windows 10 x64 Russian with Java 8.0.1210.13 compiler uses cyrillic encoding "cp1251" by default. That's why gradle fails with error
```
Validating translations
Incremental java compilation is an incubating feature.
:OsmAnd-java:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\data\MapObject.java:26: error: unmappable character for encoding Cp1251
	 * Looks like: {ru=Москва, dz=�ོསི་ཀོ...} and does not contain values of OSM tags "name" and "name:en",
	                                      ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:98: error: unmappable character for encoding Cp1251
		String s = "Ú¯Ú† Ù¾Ú? نمکی باللغة العربي";
		                    ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:101: error: unmappable character for encoding Cp1251
		if (!reshape.equals("ﻲﺑﺮﻌﻟﺍ ﺔﻐﻠﻟﺎﺑ ﯽﮑﻤﻧ ﮋ� ﭻﮔ")) {
		                                                                             ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: unclosed character literal
		char[] c = new char[] {'א', 'ד','ם'} ;
		                       ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: ';' expected
		char[] c = new char[] {'א', 'ד','ם'} ;
		                         ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: unclosed character literal
		char[] c = new char[] {'א', 'ד','ם'} ;
		                          ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: unclosed character literal
		char[] c = new char[] {'א', 'ד','ם'} ;
		                             ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: illegal character: '\u201c'
		char[] c = new char[] {'א', 'ד','ם'} ;
		                               ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: ';' expected
		char[] c = new char[] {'א', 'ד','ם'} ;
		                                ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: unclosed character literal
		char[] c = new char[] {'א', 'ד','ם'} ;
		                                     ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: not a statement
		char[] c = new char[] {'א', 'ד','ם'} ;
		                                   ^
8 errors
1 warning
 FAILED

FAILURE: Build failed with an exception.
```

I've added expllicit encoding setting for Java compiler.
2017-04-11 18:44:03 +03:00
Victor Shcherb
da6121e8d4 Speed search (check for duplicates) 2016-06-29 20:23:33 +02:00
GaidamakUA
38adf0b04a Fixes #2255 2016-03-10 19:31:12 +02:00
GaidamakUA
134c6de70b Fixed formatting for file. 2016-02-12 17:51:40 +02:00
GaidamakUA
f5127caf51 New test for instagramm geo intent. And made it work. 2016-01-16 11:32:40 +02:00
GaidamakUA
072e23cd2d Deletion of time spans is working 2015-12-29 17:11:55 +02:00
GaidamakUA
77a4a57627 New support library returned 2015-11-26 12:27:16 +02:00
Victor Shcherb
2c8383fa0a Revert "Support library updated. App now in multi Dex mode."
This reverts commit 641f150d98.
2015-11-18 10:21:00 +01:00
GaidamakUA
641f150d98 Support library updated. App now in multi Dex mode. 2015-11-17 18:53:58 +02:00
GaidamakUA
81228dba45 Fixing issue #1486. Incorrect parsing of double parentheses. Now double parentheses are simply removed. 2015-07-27 23:20:30 +03:00
Alexey Pelykh
3ec9d6dbd2 Proper gradle 2015-02-03 11:13:11 +02:00
Alexey Pelykh
6d6d3631f3 Fix 2015-02-02 17:54:43 +02:00
Alexey Pelykh
b7beca8a9b Initial gradle support 2014-12-16 13:24:33 +02:00