aboutsummaryrefslogtreecommitdiff
path: root/sharedVariables/src/NoOp.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-08-11 13:22:24 +0200
committerGitHub <noreply@github.com>2024-08-11 13:22:24 +0200
commit8903d9fa783455558d20eb32a2038c87ab5913be (patch)
tree2c925d0ecf625f8e8a5505960d0d51d2201e88e2 /sharedVariables/src/NoOp.kt
parenta8d4861b051298cc8a1db3c5210a32abab866b1e (diff)
downloadskyhanni-8903d9fa783455558d20eb32a2038c87ab5913be.tar.gz
skyhanni-8903d9fa783455558d20eb32a2038c87ab5913be.tar.bz2
skyhanni-8903d9fa783455558d20eb32a2038c87ab5913be.zip
Add multi version preprocessor (#2283)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'sharedVariables/src/NoOp.kt')
-rw-r--r--sharedVariables/src/NoOp.kt11
1 files changed, 11 insertions, 0 deletions
diff --git a/sharedVariables/src/NoOp.kt b/sharedVariables/src/NoOp.kt
new file mode 100644
index 000000000..d0103a956
--- /dev/null
+++ b/sharedVariables/src/NoOp.kt
@@ -0,0 +1,11 @@
+package at.skyhanni.sharedvariables
+
+import org.gradle.api.Plugin
+/**
+ * This class is a no op plugin. It can be applied to any project or gradle workspace and serves only as a marker
+ * for gradle to pull in the other classes in the sharedVariables project. We use a subproject rather than buildSrc
+ * since buildSrc is not available during settings configuration time (and also buildSrc tends to be slower).
+ */
+class NoOp : Plugin<Any> {
+ override fun apply(target: Any) {}
+}