mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
switch test data to remote repository content
This commit is contained in:
@@ -60,19 +60,22 @@ public class GradleJavaSettingsImportingTest extends GradleSettingsImportingTest
|
||||
|
||||
@Test
|
||||
public void testArtifactsSettingsImport() throws Exception {
|
||||
importProject(
|
||||
withGradleIdeaExtPlugin(
|
||||
createProjectConfig(
|
||||
"plugins {\n" +
|
||||
" id 'org.jetbrains.gradle.plugin.idea-ext' version '0.4'\n" +
|
||||
"}\n" +
|
||||
"import org.jetbrains.gradle.ext.*\n" +
|
||||
"idea {\n" +
|
||||
" project.settings {\n" +
|
||||
" ideArtifacts {\n" +
|
||||
" ideArtifact(\"myArt\") {\n" +
|
||||
" myArt {\n" +
|
||||
" file(\"build.gradle\")\n" +
|
||||
" }\n" +
|
||||
" }\n" +
|
||||
" }\n" +
|
||||
"}")
|
||||
"}"
|
||||
);
|
||||
importProject();
|
||||
final ArtifactManager artifactManager = ArtifactManager.getInstance(myProject);
|
||||
|
||||
final Artifact artifact = artifactManager.getArtifacts()[0];
|
||||
|
||||
Reference in New Issue
Block a user