diff options
author | Amit Kumar <amitkma@e.email> | 2021-04-28 14:17:57 +0530 |
---|---|---|
committer | Amit Kumar <amitkma@e.email> | 2021-04-28 14:19:13 +0530 |
commit | c00ab1009aa512fe89b8965cb0bee3827c64fd98 (patch) | |
tree | 957a5888d9272cc6909cedd1a4824445d71c779b /flow-mvi | |
parent | f3759a7935fcba76195d52084ee3254ec85391c3 (diff) |
Initialize kotlin flow based mvi library
Diffstat (limited to 'flow-mvi')
-rw-r--r-- | flow-mvi/.gitignore | 1 | ||||
-rw-r--r-- | flow-mvi/build.gradle | 30 | ||||
-rw-r--r-- | flow-mvi/src/main/java/foundation/e/flowmvi/MyClass.kt | 20 |
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 |