mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
gradle: update java project template
This commit is contained in:
+2
-2
@@ -64,8 +64,8 @@ public class GradleJavaFrameworkSupportProvider extends GradleFrameworkSupportPr
|
||||
@NotNull BuildScriptDataBuilder buildScriptData) {
|
||||
buildScriptData
|
||||
.addPluginDefinition("apply plugin: 'java'")
|
||||
.addPropertyDefinition("sourceCompatibility = 1.5")
|
||||
.addPropertyDefinition("sourceCompatibility = 1.8")
|
||||
.addRepositoriesDefinition("mavenCentral()")
|
||||
.addDependencyNotation("testCompile group: 'junit', name: 'junit', version: '4.11'");
|
||||
.addDependencyNotation("testCompile group: 'junit', name: 'junit', version: '4.12'");
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -74,14 +74,14 @@ public class GradleProjectWizardTest extends NewProjectWizardTestCase {
|
||||
"\n" +
|
||||
"apply plugin: 'java'\n" +
|
||||
"\n" +
|
||||
"sourceCompatibility = 1.5\n" +
|
||||
"sourceCompatibility = 1.8\n" +
|
||||
"\n" +
|
||||
"repositories {\n" +
|
||||
" mavenCentral()\n" +
|
||||
"}\n" +
|
||||
"\n" +
|
||||
"dependencies {\n" +
|
||||
" testCompile group: 'junit', name: 'junit', version: '4.11'\n" +
|
||||
" testCompile group: 'junit', name: 'junit', version: '4.12'\n" +
|
||||
"}\n",
|
||||
StringUtil.convertLineSeparators(VfsUtilCore.loadText(buildScript)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user