mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
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:
parent
2070c267c5
commit
9fd92691a9
44 changed files with 646 additions and 168 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue