Revision: 2927
http://sourceforge.net/p/swingme/code/2927
Author: yuranet
Date: 2025-10-23 20:20:14 +0000 (Thu, 23 Oct 2025)
Log Message:
-----------
can run desktop client from gradle
Modified Paths:
--------------
SwingMETest/settings.gradle
Added Paths:
-----------
SwingMETest/desktop/
SwingMETest/desktop/build.gradle
Added: SwingMETest/desktop/build.gradle
===================================================================
--- SwingMETest/desktop/build.gradle (rev 0)
+++ SwingMETest/desktop/build.gradle 2025-10-23 20:20:14 UTC (rev 2927)
@@ -0,0 +1,33 @@
+plugins {
+ id 'application'
+ id 'java'
+}
+
+java {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+}
+
+archivesBaseName = 'SwingMETest'
+
+application {
+ mainClassName = 'org.me4se.MIDletRunner'
+}
+
+jar {
+ manifest {
+ attributes(
+ 'Main-Class': project.mainClassName,
+ 'MIDlet-1': 'SwingME Test,,net.yura.mobile.test.MyMidlet'
+ )
+ }
+}
+
+run {
+ args 'net.yura.mobile.test.MyMidlet'
+}
+
+dependencies {
+ implementation rootProject
+ implementation fileTree(dir: '../lib', include: ['*.jar'])
+}
Modified: SwingMETest/settings.gradle
===================================================================
--- SwingMETest/settings.gradle 2025-10-22 14:26:44 UTC (rev 2926)
+++ SwingMETest/settings.gradle 2025-10-23 20:20:14 UTC (rev 2927)
@@ -1,6 +1,6 @@
rootProject.name = "SwingMETest"
-include ':android', ':ios'
+include ':android', ':ios', ':desktop'
//include ':..:AndroidME'
// can not do as above as does not build on Windows http://b.android.com/79505
@@ -17,7 +17,3 @@
include ':iOSME'
project(':iOSME').projectDir = new File(rootDir.getParentFile(), 'iOSME')
-
-// even though this project does not publish anything itself
-// this is needed so AndroidME and iOSME can setup all task dependencies
-enableFeaturePreview('STABLE_PUBLISHING')
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|