Refactor: Improve GitHub release workflow and build configuration (#2251)

This commit is contained in:
James Rich 2025-06-25 23:16:55 +00:00 committed by GitHub
parent d507161bde
commit 496de47766
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 284 additions and 112 deletions

View file

@ -17,6 +17,23 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
/*
* Copyright (c) 2025 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/*
* Copyright (c) 2025 Meshtastic LLC
*
@ -68,8 +85,8 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
buildFeatures {
aidl = true
@ -78,7 +95,7 @@ android {
kotlin {
compilerOptions {
jvmTarget = JvmTarget.JVM_11 // match Java 11
jvmTarget = JvmTarget.JVM_21
}
}