Add test for launcher.
[SquirrelJME.git] / modules / launcher / build.gradle
blobb50b31c6ad39dc4a8237fe744baff784bd1ec197
1 import cc.squirreljme.plugin.swm.JavaMEMidlet
2 import cc.squirreljme.plugin.swm.JavaMEMidletType
4 description = "This project contains the graphical launcher " +
5         "that SquirrelJME uses to act as a front end interface to running user" +
6         "programs."
7 version = rootProject.version
9 squirreljme
11         javaDocErrorCode = "EP"
12         swmType = JavaMEMidletType.APPLICATION
13         swmName = "SquirrelJME Launcher (Graphical)"
14         swmVendor = "Stephanie Gawroriski"
15         ignoreInLauncher = true
16         isMainLauncher = true
17         midlets += new JavaMEMidlet("SquirrelJME Launcher (Graphical)", null,
18                 "cc.squirreljme.runtime.launcher.ui.MidletMain")
19         tags += "j2me"
20         tags += "medium"
21         
22         // Keep these around for testing
23         proGuardOptions += ["-keep",
24                 "class", "cc.squirreljme.runtime.launcher.ui.MidletMain"]
25         proGuardOptions += ["-keepclassmembers",
26                 "class", "cc.squirreljme.runtime.launcher.ui.MidletMain", "{",
27                                 "boolean", "_refreshLock", ";",
28                                 "java.util.ArrayList", "_listedSuites", ";",
29                         "}"]
30         proGuardOptions += ["-keepclassmembernames",
31                 "class", "cc.squirreljme.runtime.launcher.ui.MidletMain", "{",
32                                 "boolean", "_refreshLock", ";",
33                                 "java.util.ArrayList", "_listedSuites", ";",
34                         "}"]
35         
36         // Ignore warnings here, since things just break?
37         proGuardOptionsTest += ["-ignorewarnings"]
38         
39         // Optional dependencies for testing, so that these two projects appear
40         // on the list of applications
41         optionalDependenciesTest += project(':modules:demo-hello')
42         optionalDependenciesTest += project(':modules:lcdui-demo')
45 dependencies
47         api project(":modules:cldc-compact")
49         api project(":modules:midp-lcdui")
50         api project(":modules:meep-lui")
51         api project(":modules:meep-midlet")
52         api project(":modules:meep-swm")
53         api project(":modules:tango-icon-theme")