-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #371 from NordicSemiconductor/migration/kts
Migration to Kotlin Script
- Loading branch information
Showing
37 changed files
with
318 additions
and
756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
plugins { | ||
// https://github.com/NordicSemiconductor/Android-Gradle-Plugins/blob/main/plugins/src/main/kotlin/AndroidApplicationComposeConventionPlugin.kt | ||
alias(libs.plugins.nordic.application.compose) | ||
// https://github.com/NordicSemiconductor/Android-Gradle-Plugins/blob/main/plugins/src/main/kotlin/AndroidHiltConventionPlugin.kt | ||
alias(libs.plugins.nordic.hilt) | ||
} | ||
|
||
if (gradle.startParameter.taskRequests.toString().contains("Release")) { | ||
apply(plugin = "com.google.gms.google-services") | ||
apply(plugin = "com.google.firebase.crashlytics") | ||
} | ||
|
||
android { | ||
namespace = "no.nordicsemi.android.dfu.app" | ||
defaultConfig { | ||
applicationId = "no.nordicsemi.android.dfu" | ||
resourceConfigurations.add("en") | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation(project(":lib:analytics")) | ||
implementation(project(":lib:storage")) // Deep link support | ||
implementation(project(":profile:navigation")) | ||
|
||
implementation(libs.nordic.theme) | ||
implementation(libs.nordic.navigation) | ||
|
||
implementation(libs.androidx.activity.compose) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
plugins { | ||
alias(libs.plugins.android.application) apply false | ||
alias(libs.plugins.kotlin.kapt) apply false | ||
alias(libs.plugins.hilt) apply false | ||
|
||
// Nordic plugins are defined in https://github.com/NordicSemiconductor/Android-Gradle-Plugins | ||
alias(libs.plugins.nordic.application) apply false | ||
alias(libs.plugins.nordic.application.compose) apply false | ||
alias(libs.plugins.nordic.library) apply false | ||
alias(libs.plugins.nordic.library.compose) apply false | ||
alias(libs.plugins.nordic.feature) apply false | ||
alias(libs.plugins.nordic.kotlin) apply false | ||
alias(libs.plugins.nordic.hilt) apply false | ||
alias(libs.plugins.nordic.nexus) apply false | ||
|
||
id("com.google.gms.google-services") version "4.3.14" apply false | ||
id("com.google.firebase.crashlytics") version "2.9.2" apply false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,18 +47,4 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 | |
# https://developer.android.com/topic/libraries/support-library/androidx-rn | ||
android.useAndroidX=true | ||
# Kotlin code style for this project: "official" or "obsolete": | ||
kotlin.code.style=official | ||
|
||
GROUP=no.nordicsemi.android | ||
|
||
POM_DESCRIPTION=Device Firmware Update library for Android | ||
POM_URL=https://github.com/NordicSemiconductor/Android-DFU-Library | ||
POM_SCM_URL=https://github.com/NordicSemiconductor/Android-DFU-Library | ||
POM_SCM_CONNECTION=scm:[email protected]:NordicSemiconductor/Android-DFU-Library.git | ||
POM_SCM_DEV_CONNECTION=scm:[email protected]:NordicSemiconductor/Android-DFU-Library.git | ||
POM_LICENCE=BSD 3-Clause | ||
POM_LICENCE_NAME=The BSD 3-Clause License | ||
POM_LICENCE_URL=http://opensource.org/licenses/BSD-3-Clause | ||
POM_DEVELOPER_ID=philips77 | ||
POM_DEVELOPER_NAME=Aleksander Nowakowski | ||
POM_DEVELOPER_EMAIL=[email protected] | ||
kotlin.code.style=official |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.