Skip to content

Commit

Permalink
Test detekt compiler plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
chao2zhang committed Apr 17, 2023
1 parent 2fa28dd commit 771f280
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions sample/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
plugins {
kotlin("jvm") version "1.5.31"
id("io.github.chao2zhang.rna") version "0.2.0"
kotlin("jvm") version "1.8.20"
id("io.github.detekt.gradle.compiler-plugin") version "1.23.0-RC1"
}

repositories {
jcenter()
}

detekt {
config = files("config/detekt/detekt.yml")
buildUponDefaultConfig = true
debug = true
enableCompilerPlugin.set(true)
reports {
xml.enabled = false
html.enabled = false
sarif.enabled = false
txt.enabled = false
}
}

dependencies {
implementation("io.github.chao2zhang:rna-annotation:0.2.0")
}
Empty file added sample/config/detekt/detekt.yml
Empty file.
2 changes: 1 addition & 1 deletion sample/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 771f280

Please sign in to comment.