Skip to content

Commit 8a25d20

Browse files
committed
move kmm modules to root dir
1 parent a6fd185 commit 8a25d20

File tree

87 files changed

+52
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+52
-9
lines changed

.gitignore

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
.gradle
2+
/local.properties
3+
.DS_Store
4+
/build
5+
**/build
6+
/captures
7+
build/
8+
.externalNativeBuild
9+
.cxx
10+
local.properties
11+
xcuserdata
12+
!gradle/wrapper/gradle-wrapper.jar
13+
14+
15+
### IntelliJ IDEA ###
16+
.idea
17+
*.iws
18+
*.iml
19+
*.ipr
20+
out/
21+
!**/src/main/**/out/
22+
!**/src/test/**/out/
23+
**/.idea/*
24+
!**/.idea/codeStyles
25+
!**/.idea/icon.png
26+
!**/.idea/runConfigurations
27+
!**/.idea/scopes
28+
29+
keystore.properties
30+
api-*.json
31+
*.db
32+
33+

README.md

+2-4
File renamed without changes.

api/build.gradle.kts

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ val h2_version: String by project
66
val exposed_version: String by project
77

88
plugins {
9-
kotlin("jvm") version "1.8.10"
9+
kotlin("jvm") version Dependencies.kotlinVersion
1010
id("io.ktor.plugin") version "2.2.3"
11-
id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10"
11+
kotlin(Dependencies.Plugins.serialization) version Dependencies.kotlinVersion
1212
}
1313

14-
group = "com.ktnotes"
1514
version = "0.0.1"
1615
application {
1716
mainClass.set("io.ktor.server.netty.EngineMain")

api/.env api/dev.env

File renamed without changes.

api/settings.gradle.kts

-1
This file was deleted.

mobile/build.gradle.kts build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ plugins {
77
kotlin(Dependencies.Plugins.serialization).version(Dependencies.kotlinVersion).apply(false)
88
id(Dependencies.Plugins.sqlDelight).version(Dependencies.SQLDelight.sqlDelightVersion).apply(false)
99
id(Dependencies.Plugins.hilt).version(Dependencies.Dagger.hiltVersion).apply(false)
10+
kotlin("jvm").version(Dependencies.kotlinVersion).apply(false)
1011

1112
}
1213

File renamed without changes.
File renamed without changes.
File renamed without changes.

mobile/gradlew gradlew

File renamed without changes.

mobile/gradlew.bat gradlew.bat

File renamed without changes.

mobile/iosApp/iosApp.xcodeproj/project.pbxproj iosApp/iosApp.xcodeproj/project.pbxproj

+12
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
058557D9273AAEEB004C7B11 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 058557D8273AAEEB004C7B11 /* Preview Assets.xcassets */; };
1212
2152FB042600AC8F00CF470E /* iOSApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2152FB032600AC8F00CF470E /* iOSApp.swift */; };
1313
7555FF83242A565900829871 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7555FF82242A565900829871 /* ContentView.swift */; };
14+
A53BEDC729FBE77100B6C769 /* NoteDetailsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A53BEDC429FBE77100B6C769 /* NoteDetailsView.swift */; };
15+
A53BEDC829FBE77100B6C769 /* NoteListScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = A53BEDC529FBE77100B6C769 /* NoteListScreen.swift */; };
16+
A53BEDC929FBE77100B6C769 /* RegistrationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A53BEDC629FBE77100B6C769 /* RegistrationView.swift */; };
1417
A566517029C49C3600EB0DFD /* CombineAdapters.swift in Sources */ = {isa = PBXBuildFile; fileRef = A566516F29C49C3600EB0DFD /* CombineAdapters.swift */; };
1518
/* End PBXBuildFile section */
1619

@@ -34,6 +37,9 @@
3437
7555FF7B242A565900829871 /* iosApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iosApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
3538
7555FF82242A565900829871 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
3639
7555FF8C242A565B00829871 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
40+
A53BEDC429FBE77100B6C769 /* NoteDetailsView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NoteDetailsView.swift; sourceTree = "<group>"; };
41+
A53BEDC529FBE77100B6C769 /* NoteListScreen.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NoteListScreen.swift; sourceTree = "<group>"; };
42+
A53BEDC629FBE77100B6C769 /* RegistrationView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RegistrationView.swift; sourceTree = "<group>"; };
3743
A566516F29C49C3600EB0DFD /* CombineAdapters.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CombineAdapters.swift; sourceTree = "<group>"; };
3844
/* End PBXFileReference section */
3945

@@ -77,6 +83,9 @@
7783
children = (
7884
058557BA273AAA24004C7B11 /* Assets.xcassets */,
7985
7555FF82242A565900829871 /* ContentView.swift */,
86+
A53BEDC429FBE77100B6C769 /* NoteDetailsView.swift */,
87+
A53BEDC529FBE77100B6C769 /* NoteListScreen.swift */,
88+
A53BEDC629FBE77100B6C769 /* RegistrationView.swift */,
8089
7555FF8C242A565B00829871 /* Info.plist */,
8190
2152FB032600AC8F00CF470E /* iOSApp.swift */,
8291
058557D7273AAEEB004C7B11 /* Preview Content */,
@@ -177,9 +186,12 @@
177186
isa = PBXSourcesBuildPhase;
178187
buildActionMask = 2147483647;
179188
files = (
189+
A53BEDC829FBE77100B6C769 /* NoteListScreen.swift in Sources */,
180190
A566517029C49C3600EB0DFD /* CombineAdapters.swift in Sources */,
181191
2152FB042600AC8F00CF470E /* iOSApp.swift in Sources */,
192+
A53BEDC929FBE77100B6C769 /* RegistrationView.swift in Sources */,
182193
7555FF83242A565900829871 /* ContentView.swift in Sources */,
194+
A53BEDC729FBE77100B6C769 /* NoteDetailsView.swift in Sources */,
183195
);
184196
runOnlyForDeploymentPostprocessing = 0;
185197
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

mobile/settings.gradle.kts settings.gradle.kts

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ dependencyResolutionManagement {
1515

1616
rootProject.name = "KtNotes"
1717
include(":androidApp")
18-
include(":shared")
18+
include(":shared")
19+
include(":api")
File renamed without changes.

0 commit comments

Comments
 (0)