refactor: Migrate to Android Gradle Plugin 9.0 (#4072)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich 2025-12-28 07:47:12 -06:00 committed by GitHub
parent 2070c267c5
commit 9fd92691a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 646 additions and 168 deletions

View file

@ -14,28 +14,15 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import com.android.build.api.dsl.androidLibrary
plugins {
alias(libs.plugins.meshtastic.kmp.library)
alias(libs.plugins.compose.multiplatform)
alias(libs.plugins.compose.compiler)
id("meshtastic.kmp.library.compose")
}
kotlin {
@Suppress("UnstableApiUsage")
androidLibrary {
namespace = "org.meshtastic.core.strings"
androidResources.enable = true
}
sourceSets {
commonMain.dependencies {
implementation(compose.runtime)
// API because consuming modules will always need this dependency
api(compose.components.resources)
}
}
androidLibrary { androidResources.enable = true }
}
compose.resources {