mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-19 23:44:24 +01:00
Change parcelize to serialization plugin
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.nordic.library)
|
||||
id("kotlin-parcelize")
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.nordic.library)
|
||||
id("kotlin-parcelize")
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'dagger.hilt.android.plugin'
|
||||
apply plugin: 'kotlin-kapt'
|
||||
|
||||
android {
|
||||
compileSdk android_api_version
|
||||
|
||||
defaultConfig {
|
||||
minSdk android_min_api_version
|
||||
targetSdk android_api_version
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles "consumer-rules.pro"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
}
|
||||
|
||||
/**
|
||||
* There is an issue with recomposition performance when data objects doesn't belong to the module
|
||||
* when composition is enabled, because those objects cannot be properly compared for the changes.
|
||||
* Better to leave enabled for all modules.
|
||||
*/
|
||||
composeOptions {
|
||||
kotlinCompilerExtensionVersion compose_version
|
||||
kotlinCompilerVersion kotlin_version
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
compose true
|
||||
}
|
||||
|
||||
hilt {
|
||||
enableExperimentalClasspathAggregation = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libs.bundles.compose
|
||||
|
||||
implementation libs.bundles.hilt
|
||||
kapt libs.bundles.hiltkapt
|
||||
}
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.nordic.library)
|
||||
id("kotlin-parcelize")
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.nordic.library)
|
||||
id("kotlin-parcelize")
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.nordic.library)
|
||||
id("kotlin-parcelize")
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.nordic.library)
|
||||
id("kotlin-parcelize")
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.nordic.library)
|
||||
id("kotlin-parcelize")
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.nordic.library)
|
||||
id("kotlin-parcelize")
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.nordic.library)
|
||||
id("kotlin-parcelize")
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.nordic.library)
|
||||
id("kotlin-parcelize")
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
}
|
||||
|
||||
android {
|
||||
|
||||
@@ -56,7 +56,7 @@ dependencies {
|
||||
implementation(libs.room.ktx)
|
||||
|
||||
// kapt(libs.room.compiler)
|
||||
kapt("androidx.room:room-compiler:2.5.0")
|
||||
// kapt("androidx.room:room-compiler:2.5.0")
|
||||
// kapt("")
|
||||
|
||||
implementation(libs.nordic.ble.common)
|
||||
|
||||
@@ -44,6 +44,7 @@ dependencyResolutionManagement {
|
||||
mavenLocal()
|
||||
google()
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
maven(url = "https://jitpack.io")
|
||||
}
|
||||
versionCatalogs {
|
||||
|
||||
Reference in New Issue
Block a user