data: update Java dependencies to add support for Java 13, 14 and 15 (#1152)
* updated java indexer dependencies * replaced old gradle tooling jar that is shipped with Sourcetrail because it is not working for new JRE versions anymore * fixed crash in Java indexer * added language standard sleection for Java 13, 14 and 15 * fixed console logging for recent jdk versions
This commit is contained in:
+17
-2
@@ -4,7 +4,7 @@
|
||||
|
||||
std::wstring SourceGroupSettingsWithJavaStandard::getDefaultJavaStandardStatic()
|
||||
{
|
||||
return L"12";
|
||||
return L"15";
|
||||
}
|
||||
|
||||
std::wstring SourceGroupSettingsWithJavaStandard::getJavaStandard() const
|
||||
@@ -23,7 +23,22 @@ void SourceGroupSettingsWithJavaStandard::setJavaStandard(const std::wstring& st
|
||||
|
||||
std::vector<std::wstring> SourceGroupSettingsWithJavaStandard::getAvailableJavaStandards() const
|
||||
{
|
||||
return {L"12", L"11", L"10", L"9", L"8", L"7", L"6", L"5", L"4", L"3", L"2", L"1"};
|
||||
return {
|
||||
L"15",
|
||||
L"14",
|
||||
L"13",
|
||||
L"12",
|
||||
L"11",
|
||||
L"10",
|
||||
L"9",
|
||||
L"8",
|
||||
L"7",
|
||||
L"6",
|
||||
L"5",
|
||||
L"4",
|
||||
L"3",
|
||||
L"2",
|
||||
L"1"};
|
||||
}
|
||||
|
||||
bool SourceGroupSettingsWithJavaStandard::equals(const SourceGroupSettingsBase* other) const
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "utilityString.h"
|
||||
|
||||
ConsoleLogger::ConsoleLogger(): Logger("ConsoleLogger") {}
|
||||
|
||||
void ConsoleLogger::logInfo(const LogMessage& message)
|
||||
@@ -29,6 +31,5 @@ void ConsoleLogger::logMessage(const std::string& type, const LogMessage& messag
|
||||
<< "() | ";
|
||||
}
|
||||
|
||||
std::cout << type << ": ";
|
||||
std::wcout << message.message << std::endl;
|
||||
std::cout << type << ": " << utility::encodeToUtf8(message.message) << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user