Files
coco 7846a45f2c a
2026-07-03 15:47:27 +08:00

60 lines
1.6 KiB
Kotlin

/*
*
* Copyright 2023 Einstein Blanco
*
* Licensed under the GNU General Public License v3.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/gpl-3.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
plugins {
alias(libs.plugins.protobuf)
alias(libs.plugins.com.eblan.launcher.library)
alias(libs.plugins.com.eblan.launcher.hilt)
}
android {
namespace = "com.eblan.launcher.data.datastore"
defaultConfig {
consumerProguardFiles("consumer-proguard-rules.pro")
}
}
// Setup protobuf configuration, generating lite Java and Kotlin classes
protobuf {
protoc {
artifact = libs.protobuf.protoc.get().toString()
}
generateProtoTasks {
all().forEach { task ->
task.builtins {
register("java") {
option("lite")
}
register("kotlin") {
option("lite")
}
}
}
}
}
dependencies {
implementation(libs.androidx.dataStore.core)
implementation(libs.protobuf.kotlin.lite)
implementation(projects.common)
implementation(projects.domain.common)
implementation(projects.domain.model)
implementation(projects.domain.repository)
}