Move modules around, build LTW as AAR
This commit is contained in:
parent
14ab14ca03
commit
c64909ff5c
10
.github/workflows/android.yml
vendored
10
.github/workflows/android.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: Android CI
|
name: Android CI
|
||||||
|
|
||||||
on: [workflow_dispatch]
|
on: [push, workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -19,12 +19,12 @@ jobs:
|
|||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew assembleRelease
|
run: ./gradlew :ltw:assembleRelease
|
||||||
- name: Upload
|
- name: Upload AAR
|
||||||
uses: actions/upload-artifact@v4.6.0
|
uses: actions/upload-artifact@v4.6.0
|
||||||
with:
|
with:
|
||||||
name: output
|
name: output-aar
|
||||||
path: app/build/outputs/apk/release/app-release.apk
|
path: ltw/build/outputs/aar/ltw-release.aar
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
|
|
||||||
|
0
app/.gitignore → ltw/.gitignore
vendored
0
app/.gitignore → ltw/.gitignore
vendored
@ -1,18 +1,12 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'com.android.application'
|
id 'com.android.library'
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace 'git.artdeell.gl4eswrapper'
|
namespace "git.artdeell.ltw"
|
||||||
compileSdk 33
|
compileSdk 34
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "git.artdeell.gl4eswrapper"
|
|
||||||
minSdk 21
|
minSdk 21
|
||||||
targetSdk 33
|
|
||||||
versionCode 1
|
|
||||||
versionName "1.0"
|
|
||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
ndkBuild {
|
ndkBuild {
|
||||||
arguments '-j24'
|
arguments '-j24'
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user