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
|
||||
|
||||
on: [workflow_dispatch]
|
||||
on: [push, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -19,12 +19,12 @@ jobs:
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew assembleRelease
|
||||
- name: Upload
|
||||
run: ./gradlew :ltw:assembleRelease
|
||||
- name: Upload AAR
|
||||
uses: actions/upload-artifact@v4.6.0
|
||||
with:
|
||||
name: output
|
||||
path: app/build/outputs/apk/release/app-release.apk
|
||||
name: output-aar
|
||||
path: ltw/build/outputs/aar/ltw-release.aar
|
||||
if-no-files-found: error
|
||||
retention-days: 7
|
||||
|
||||
|
0
app/.gitignore → ltw/.gitignore
vendored
0
app/.gitignore → ltw/.gitignore
vendored
@ -1,18 +1,12 @@
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'com.android.library'
|
||||
}
|
||||
|
||||
android {
|
||||
namespace 'git.artdeell.gl4eswrapper'
|
||||
compileSdk 33
|
||||
|
||||
namespace "git.artdeell.ltw"
|
||||
compileSdk 34
|
||||
defaultConfig {
|
||||
applicationId "git.artdeell.gl4eswrapper"
|
||||
minSdk 21
|
||||
targetSdk 33
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
externalNativeBuild {
|
||||
ndkBuild {
|
||||
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