Skip to content

Instantly share code, notes, and snippets.

@azazellj
Created May 27, 2024 20:47
Show Gist options
  • Save azazellj/49de85a79b4cbdb0bb58d88fb567c149 to your computer and use it in GitHub Desktop.
Save azazellj/49de85a79b4cbdb0bb58d88fb567c149 to your computer and use it in GitHub Desktop.
plugins {
`java-gradle-plugin`
alias(libs.plugins.kotlin.jvm)
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
dependencies {
implementation(libs.android.gradlePlugin.api)
compileOnly(gradleKotlinDsl())
implementation(libs.kotlinpoet)
implementation(libs.json)
}
gradlePlugin {
plugins {
create("DSMGeneratorPlugin") {
id = "DSMGeneratorPlugin"
implementationClass = "com.azazellj.dsm.DSMGeneratorPlugin"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment