mirror of
https://github.com/twofas/2fas-android.git
synced 2024-11-22 02:09:58 +01:00
3488c3bc3d
wip
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
@Suppress("DSL_SCOPE_VIOLATION")
|
|
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("com.android.tools.build:gradle:${libs.versions.agp.get()}")
|
|
compileOnly("org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlin.get()}")
|
|
}
|
|
|
|
gradlePlugin {
|
|
@Suppress("DSL_SCOPE_VIOLATION")
|
|
plugins {
|
|
register("TwoFasComposePlugin") {
|
|
id = "twofas.compose"
|
|
implementationClass = "com.twofasapp.buildlogic.TwoFasComposePlugin"
|
|
}
|
|
|
|
register("TwoFasAndroidLibraryPlugin") {
|
|
id = "twofas.androidLibrary"
|
|
implementationClass = "com.twofasapp.buildlogic.TwoFasAndroidLibraryPlugin"
|
|
}
|
|
|
|
register("TwoFasAndroidApplicationPlugin") {
|
|
id = "twofas.androidApplication"
|
|
implementationClass = "com.twofasapp.buildlogic.TwoFasAndroidApplicationPlugin"
|
|
}
|
|
}
|
|
} |