Slackbot
02/09/2021, 6:57 PMVampire
02/11/2021, 11:32 AM.idea
).
What actually looks a bit strange is this I'd say:Lilly
02/11/2021, 6:49 PM...
sourceSets.main {
java {
srcDir("${projectDir.parent}/src/main/kotlin/base")
include("Plugins.kt")
include("Versions.kt")
}
}
Someone gave me this advice with the effect, to have my Version constants also available in my project level build.gradle.kts
Lilly
02/17/2021, 4:56 PMLilly
02/17/2021, 5:06 PMLilly
02/17/2021, 6:24 PMbase
plugin is good for and implementation(files(libs.javaClass.protectionDomain.codeSource.location))
? Especially the files
command...
I also noticed that there is a generated PluginSpecBuilders.kt
file with plugin accessors. I'm wondering why I can't use
plugins {
base
`application` // instead of id("com.android.application")
`kotlin-android` // instead of id("kotlin-android")
}
My last question is regarding the screenshot: Why do I have to declare the pluginManagement block. Does it declare the dependencies lookup for the project? I'm wondering why allprojects.repositories
isn't sufficient 🤔