2021-09-25 05:13:14 -07:00
|
|
|
enableFeaturePreview("VERSION_CATALOGS")
|
2021-09-13 10:42:53 -07:00
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
|
2021-08-30 04:34:01 -07:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
2021-09-25 05:13:14 -07:00
|
|
|
google()
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
val detektVersion = extra["DETEKT_VERSION"].toString()
|
|
|
|
val dokkaVersion = extra["DOKKA_VERSION"].toString()
|
|
|
|
val kotlinVersion = extra["KOTLIN_VERSION"].toString()
|
|
|
|
val owaspVersion = extra["OWASP_DEPENDENCY_CHECK_VERSION"].toString()
|
|
|
|
val protobufVersion = extra["PROTOBUF_GRADLE_PLUGIN_VERSION"].toString()
|
|
|
|
|
|
|
|
id("com.google.protobuf") version(protobufVersion) apply(false)
|
|
|
|
id("org.jetbrains.dokka") version(dokkaVersion) apply(false)
|
|
|
|
id("org.jetbrains.kotlin.plugin.allopen") version(kotlinVersion) apply(false)
|
|
|
|
id("org.owasp.dependencycheck") version(owaspVersion) apply(false)
|
|
|
|
id("io.gitlab.arturbosch.detekt") version (detektVersion) apply (false)
|
2021-08-30 04:34:01 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id("de.fayard.refreshVersions") version("0.20.0")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
maven("https://jitpack.io")
|
2021-09-25 05:13:14 -07:00
|
|
|
maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven")
|
|
|
|
}
|
|
|
|
|
|
|
|
@Suppress("UnstableApiUsage", "MaxLineLength")
|
|
|
|
versionCatalogs {
|
|
|
|
create("libs") {
|
|
|
|
val grpcVersion = extra["GRPC_VERSION"].toString()
|
|
|
|
val javaVersion = extra["ANDROID_JVM_TARGET"].toString()
|
|
|
|
val protocVersion = extra["PROTOC_VERSION"].toString()
|
|
|
|
|
|
|
|
// Standalone versions
|
|
|
|
version("grpc", grpcVersion)
|
|
|
|
version("java", javaVersion)
|
|
|
|
version("protoc", protocVersion)
|
|
|
|
}
|
2021-08-30 04:34:01 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rootProject.name = "zcash-android-sdk"
|
|
|
|
|
2021-09-25 05:13:14 -07:00
|
|
|
includeBuild("build-conventions")
|
|
|
|
|
2021-08-30 04:34:01 -07:00
|
|
|
include("sdk-lib")
|
|
|
|
include("demo-app")
|