All Downloads are FREE. Search and download functionalities are using the official Maven repository.

droid-password-store.android-plugins.0.0.2.source-code.com.github.android-password-store.published-android-library.gradle.kts Maven / Gradle / Ivy

The newest version!
/*
 * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
 * SPDX-License-Identifier: GPL-3.0-only
 */

import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
import com.vanniktech.maven.publish.MavenPublishBaseExtension
import com.vanniktech.maven.publish.SonatypeHost
import org.gradle.kotlin.dsl.provideDelegate

plugins {
  id("com.github.android-password-store.android-library")
  id("com.vanniktech.maven.publish.base")
  id("org.jetbrains.dokka")
  id("signing")
}

configure {
  group = requireNotNull(project.findProperty("GROUP"))
  version = requireNotNull(project.findProperty("VERSION_NAME"))
  mavenPublishing {
    publishToMavenCentral(SonatypeHost.DEFAULT)
    signAllPublications()
    configure(AndroidSingleVariantLibrary())
  }
  pomFromGradleProperties()
}

afterEvaluate {
  signing {
    val signingKey: String? by project
    val signingPassword: String? by project
    useInMemoryPgpKeys(signingKey, signingPassword)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy