diff --git a/groovy/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/settings.gradle.fmk b/groovy/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/settings.gradle.fmk index 375e4e962311..61eba9a3143f 100644 --- a/groovy/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/settings.gradle.fmk +++ b/groovy/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/settings.gradle.fmk @@ -19,7 +19,7 @@ --> include 'desktop' -include 'app' +//include 'app' include 'web' -include 'ios' +//include 'ios' diff --git a/groovy/gradle.htmlui/test/unit/src/org/netbeans/modules/gradle/htmlui/CreateArchetypeTest.java b/groovy/gradle.htmlui/test/unit/src/org/netbeans/modules/gradle/htmlui/CreateArchetypeTest.java index aa72ef813c5e..601d80a1e154 100644 --- a/groovy/gradle.htmlui/test/unit/src/org/netbeans/modules/gradle/htmlui/CreateArchetypeTest.java +++ b/groovy/gradle.htmlui/test/unit/src/org/netbeans/modules/gradle/htmlui/CreateArchetypeTest.java @@ -78,6 +78,11 @@ public void testCreateFromArchetype() throws Exception { assertPackage("my.pkg.x"). assertName("BrowserMain"). assertNoLicense(); + assertFile("settings include only desktop and web", dest, "settings.gradle"). + assertText("//include 'app'"). + assertText("//include 'ios'"). + assertText("include 'desktop'"). + assertText("include 'web'"); } private AssertContent assertFile(String msg, FileObject root, String... path) throws IOException {