mirror of
https://github.com/HighCapable/moshi-companion.git
synced 2025-10-18 00:29:27 +08:00
44 lines
795 B
Plaintext
44 lines
795 B
Plaintext
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id("com.highcapable.sweetproperty") version "1.0.8"
|
|
}
|
|
|
|
sweetProperty {
|
|
global {
|
|
sourcesCode {
|
|
includeKeys(
|
|
"^project\\..*\$".toRegex(),
|
|
"^gradle\\..*\$".toRegex()
|
|
)
|
|
isEnableRestrictedAccess = true
|
|
}
|
|
}
|
|
|
|
rootProject {
|
|
all {
|
|
isEnable = false
|
|
}
|
|
}
|
|
}
|
|
|
|
rootProject.name = "moshi-companion"
|
|
|
|
include(":samples:app")
|
|
include(":companion-api", ":companion-codegen") |