diff --git a/settings.gradle b/settings.gradle index 4cfbdc9..4974edb 100644 --- a/settings.gradle +++ b/settings.gradle @@ -11,6 +11,7 @@ String[] includes = [ ":ratings:gc", ":triggers:command", ":triggers:selector_with_timer", + ":triggers:selector_with_scheduling", ":inlines", // ":settings", ":runner" diff --git a/triggers/selector_with_scheduling/build.gradle b/triggers/selector_with_scheduling/build.gradle new file mode 100644 index 0000000..c3a8634 --- /dev/null +++ b/triggers/selector_with_scheduling/build.gradle @@ -0,0 +1,21 @@ +plugins { + id "org.jetbrains.kotlin.multiplatform" + id "org.jetbrains.kotlin.plugin.serialization" + id "com.android.library" +} + +apply from: "$mppProjectWithSerializationPresetPath" + +kotlin { + sourceSets { + commonMain { + dependencies { + api project(":plaguposter.common") + } + } + jvmMain { + dependencies { + } + } + } +} diff --git a/triggers/selector_with_scheduling/src/commonMain/kotlin/PackageInfo.kt b/triggers/selector_with_scheduling/src/commonMain/kotlin/PackageInfo.kt new file mode 100644 index 0000000..6b58a49 --- /dev/null +++ b/triggers/selector_with_scheduling/src/commonMain/kotlin/PackageInfo.kt @@ -0,0 +1 @@ +package dev.inmo.plaguposter.triggers.selector_with_scheduling diff --git a/triggers/selector_with_scheduling/src/jvmMain/kotlin/Plugin.kt b/triggers/selector_with_scheduling/src/jvmMain/kotlin/Plugin.kt new file mode 100644 index 0000000..d360aa8 --- /dev/null +++ b/triggers/selector_with_scheduling/src/jvmMain/kotlin/Plugin.kt @@ -0,0 +1,11 @@ +package dev.inmo.plaguposter.triggers.selector_with_scheduling + +import dev.inmo.plagubot.Plugin +import kotlinx.serialization.json.* +import org.jetbrains.exposed.sql.Database +import org.koin.core.module.Module + +object Plugin : Plugin { + override fun Module.setupDI(database: Database, params: JsonObject) { + } +} diff --git a/triggers/selector_with_scheduling/src/main/AndroidManifest.xml b/triggers/selector_with_scheduling/src/main/AndroidManifest.xml new file mode 100644 index 0000000..acdf85d --- /dev/null +++ b/triggers/selector_with_scheduling/src/main/AndroidManifest.xml @@ -0,0 +1 @@ +