Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Morfly
Last active April 16, 2022 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Morfly/7f258fe67551a5b070cc7123d2cd664e to your computer and use it in GitHub Desktop.
Save Morfly/7f258fe67551a5b070cc7123d2cd664e to your computer and use it in GitHub Desktop.
KSP sample build settings
// settings.gradle.kts
pluginManagement {
plugins {
id("com.google.devtools.ksp") version "1.6.20-1.0.5"
kotlin("jvm") version "1.6.20"
}
repositories {
gradlePluginPortal()
google()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "ksp-sample"
include(":annotations")
include(":processor")
include(":main-project")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment