0.1.0-0-pre.6
This commit is contained in:
@@ -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}")
|
||||
}
|
||||
|
||||
3
Android/common/src/main/AndroidManifest.xml
Normal file
3
Android/common/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<!-- file: Android/common/src/main/AndroidManifest.xml -->
|
||||
<!-- version: 1 -->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" />
|
||||
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user