summaryrefslogtreecommitdiff
path: root/autofill-parser/build.gradle.kts
blob: 137aa2a1f2a1fc569dedba1046c897daf917be9b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
 * SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
 */
@file:Suppress("UnstableApiUsage")

import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
  id("com.github.android-password-store.published-android-library")
  id("com.github.android-password-store.kotlin-android")
  id("com.github.android-password-store.psl-plugin")
}

android {
  defaultConfig {
    minSdk = 23
    consumerProguardFiles("consumer-rules.pro")
  }
  sourceSets { getByName("test") { resources.srcDir("src/main/assets") } }
  namespace = "com.github.androidpasswordstore.autofillparser"
}

tasks.withType<KotlinCompile>().configureEach {
  compilerOptions {
    languageVersion.set(KotlinVersion.KOTLIN_1_7)
  }
}

dependencies {
  implementation(platform(libs.kotlin1710.bom))
  implementation(libs.androidx.annotation)
  implementation(libs.androidx.autofill)
  implementation(libs.androidx.core.ktx)
  implementation(libs.kotlinx.coroutines.core)
  implementation(libs.thirdparty.logcat)
  testImplementation(libs.bundles.testDependencies)
}