Create utils module, move Log class there
BuildConfig class is now only created in the utils module
This commit is contained in:
parent
2fde47a86f
commit
f1c970461f
4 changed files with 19 additions and 1 deletions
|
@ -16,7 +16,6 @@ android {
|
|||
namespace = "org.amnezia.vpn"
|
||||
|
||||
buildFeatures {
|
||||
buildConfig = true
|
||||
viewBinding = true
|
||||
}
|
||||
|
||||
|
@ -81,6 +80,7 @@ android {
|
|||
dependencies {
|
||||
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar", "*.aar"))))
|
||||
implementation(project(":qt"))
|
||||
implementation(project(":utils"))
|
||||
implementation(libs.androidx.core)
|
||||
implementation(libs.androidx.appcompat)
|
||||
implementation(libs.androidx.security.crypto)
|
||||
|
|
|
@ -34,6 +34,7 @@ rootProject.name = "AmneziaVPN"
|
|||
rootProject.buildFileName = "build.gradle.kts"
|
||||
|
||||
include(":qt")
|
||||
include(":utils")
|
||||
|
||||
// get values from gradle or local properties
|
||||
val androidBuildToolsVersion: String by gradleProperties
|
||||
|
|
17
client/android/utils/build.gradle.kts
Normal file
17
client/android/utils/build.gradle.kts
Normal file
|
@ -0,0 +1,17 @@
|
|||
plugins {
|
||||
id(libs.plugins.android.library.get().pluginId)
|
||||
id(libs.plugins.kotlin.android.get().pluginId)
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(17)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "org.amnezia.vpn"
|
||||
|
||||
buildFeatures {
|
||||
// add BuildConfig class
|
||||
buildConfig = true
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue