aboutsummaryrefslogtreecommitdiff
path: root/sharedVariables/src/NoOp.kt
diff options
context:
space:
mode:
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) {}
+}