0.1.0-0-pre.6

This commit is contained in:
2026-09-16 08:49:45 +02:00
parent 380a24681d
commit 21e45d333d
22 changed files with 452 additions and 34 deletions

View File

@@ -1,4 +1,26 @@
// file: Android/common/build.gradle
// version: 1
// version: 2
// This module will become the reusable Android library containing SDLActivity integration and common platform services.
plugins {
id 'com.android.library'
}
def sdl3AarName = providers.gradleProperty("sdl3AarName").get()
android {
namespace 'com.sasedev.games.common'
compileSdk 36
defaultConfig {
minSdk 21
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}
dependencies {
api files("../libs/${sdl3AarName}")
}

View File

@@ -0,0 +1,3 @@
<!-- file: Android/common/src/main/AndroidManifest.xml -->
<!-- version: 1 -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" />

View File

@@ -1,14 +1,14 @@
// file: Android/common/src/main/java/com/sasedev/games/common/SaseGameActivity.java
// version: 1
// version: 2
package com.sasedev.games.common;
/**
* Common Android activity boundary for games.sasedev applications.
*
* <p>The executable Android delta will make this class extend SDLActivity once the SDL3 AAR is introduced.</p>
* <p>The SDL3 Android AAR supplies the common {@code SDLActivity} host. Game-specific activities extend this class.</p>
*/
public abstract class SaseGameActivity {
public abstract class SaseGameActivity extends org.libsdl.app.SDLActivity {
/**
* Returns the stable identifier of the game hosted by the activity.
*