From c00ab1009aa512fe89b8965cb0bee3827c64fd98 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Wed, 28 Apr 2021 14:17:57 +0530 Subject: Initialize kotlin flow based mvi library --- flow-mvi/.gitignore | 1 + flow-mvi/build.gradle | 30 ++++++++++++++++++++++ .../src/main/java/foundation/e/flowmvi/MyClass.kt | 20 +++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 flow-mvi/.gitignore create mode 100644 flow-mvi/build.gradle create mode 100644 flow-mvi/src/main/java/foundation/e/flowmvi/MyClass.kt (limited to 'flow-mvi') 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 . +*/ + +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 . + */ + +package foundation.e.flowmvi + +class MyClass -- cgit v1.2.1