diff --git a/.gitignore b/.gitignore index 1808834..c6b13e4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ lib/bld/** !lib/bld/bld-wrapper.properties lib/compile/ lib/runtime/ +lib/provided/ lib/standalone/ lib/test/ diff --git a/README.md b/README.md index fde8f22..9e41b8e 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ AkismetComment(request = context.getRequest()) This will ensure that the user's IP, agent, referrer and various environment variables are automatically extracted from the request. -[View Full Example](https://github.com/ethauvin/akismet-kotlin/blob/master/examples/src/main/kotlin/com/example/AkismetServlet.kt) +[View Full Example](https://github.com/ethauvin/akismet-kotlin/blob/master/examples/gradle/src/main/kotlin/com/example/AkismetServlet.kt) ## JSON diff --git a/lib/provided/kotlin-serialization-compiler-plugin-1.9.24-sources.jar b/lib/provided/kotlin-serialization-compiler-plugin-1.9.24-sources.jar deleted file mode 100644 index 15ef69b..0000000 Binary files a/lib/provided/kotlin-serialization-compiler-plugin-1.9.24-sources.jar and /dev/null differ diff --git a/lib/provided/kotlin-serialization-compiler-plugin-1.9.24.jar b/lib/provided/kotlin-serialization-compiler-plugin-1.9.24.jar deleted file mode 100644 index a710db5..0000000 Binary files a/lib/provided/kotlin-serialization-compiler-plugin-1.9.24.jar and /dev/null differ diff --git a/src/bld/java/net/thauvin/erik/AkismetBuild.java b/src/bld/java/net/thauvin/erik/AkismetBuild.java index 4f0c9be..2f7d983 100644 --- a/src/bld/java/net/thauvin/erik/AkismetBuild.java +++ b/src/bld/java/net/thauvin/erik/AkismetBuild.java @@ -53,6 +53,7 @@ import static rife.bld.dependencies.Repository.*; import static rife.bld.dependencies.Scope.*; public class AkismetBuild extends Project { + private static final String DETEKT_BASELINE = "config/detekt/baseline.xml"; final File srcMainKotlin = new File(srcMainDirectory(), "kotlin"); public AkismetBuild() { @@ -144,7 +145,7 @@ public class AkismetBuild extends Project { public void detekt() throws ExitStatusException, IOException, InterruptedException { new DetektOperation() .fromProject(this) - .baseline("config/detekt/baseline.xml") + .baseline(DETEKT_BASELINE) .execute(); } @@ -152,7 +153,7 @@ public class AkismetBuild extends Project { public void detektBaseline() throws ExitStatusException, IOException, InterruptedException { new DetektOperation() .fromProject(this) - .baseline("config/detekt/baseline.xml") + .baseline(DETEKT_BASELINE) .createBaseline(true) .execute(); }