summaryrefslogtreecommitdiff
path: root/flow-mvi
diff options
context:
space:
mode:
Diffstat (limited to 'flow-mvi')
-rw-r--r--flow-mvi/.gitignore1
-rw-r--r--flow-mvi/build.gradle30
-rw-r--r--flow-mvi/src/main/java/foundation/e/flowmvi/MyClass.kt20
3 files changed, 51 insertions, 0 deletions
diff --git a/flow-mvi/.gitignore b/flow-mvi/.gitignore
new file mode 100644
index 0000000..42afabf
--- /dev/null
+++ b/flow-mvi/.gitignore
@@ -0,0 +1 @@
+/build \ No newline at end of file
diff --git a/flow-mvi/build.gradle b/flow-mvi/build.gradle
new file mode 100644
index 0000000..52478d7
--- /dev/null
+++ b/flow-mvi/build.gradle
@@ -0,0 +1,30 @@
+/*
+* Copyright (C) 2021 E FOUNDATION
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation, either version 3 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program. If not, see <https://www.gnu.org/licenses/>.
+*/
+
+plugins {
+ id 'java-library'
+ id 'kotlin'
+}
+
+java {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+}
+
+dependencies {
+ implementation Libs.Kotlin.stdlib
+}
diff --git a/flow-mvi/src/main/java/foundation/e/flowmvi/MyClass.kt b/flow-mvi/src/main/java/foundation/e/flowmvi/MyClass.kt
new file mode 100644
index 0000000..32b47a1
--- /dev/null
+++ b/flow-mvi/src/main/java/foundation/e/flowmvi/MyClass.kt
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2021 E FOUNDATION
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+package foundation.e.flowmvi
+
+class MyClass