Skip to content

Commit e60bd2e

Browse files
committed
KTLN-841: move koin plain to separate module
1 parent 417d9b6 commit e60bd2e

File tree

10 files changed

+69
-48
lines changed

10 files changed

+69
-48
lines changed

koin-guide/koin-plain/pom.xml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<artifactId>koin-plain</artifactId>
6+
<packaging>pom</packaging>
7+
<name>koin-plain</name>
8+
<description>Demo project for Koin</description>
9+
10+
<parent>
11+
<groupId>com.baeldung</groupId>
12+
<artifactId>kotlin-modules</artifactId>
13+
<version>1.0.0-SNAPSHOT</version>
14+
<relativePath>../../pom.xml</relativePath>
15+
</parent>
16+
17+
<dependencies>
18+
<dependency>
19+
<groupId>io.insert-koin</groupId>
20+
<artifactId>koin-core</artifactId>
21+
<version>${koin.version}</version>
22+
</dependency>
23+
<dependency>
24+
<groupId>io.insert-koin</groupId>
25+
<artifactId>koin-ktor</artifactId>
26+
<version>${koin.version}</version>
27+
</dependency>
28+
<dependency>
29+
<groupId>io.ktor</groupId>
30+
<artifactId>ktor-server-core</artifactId>
31+
<version>${ktor.version}</version>
32+
</dependency>
33+
<dependency>
34+
<groupId>io.ktor</groupId>
35+
<artifactId>ktor-server-netty</artifactId>
36+
<version>${ktor.version}</version>
37+
</dependency>
38+
39+
<!-- Test -->
40+
<dependency>
41+
<groupId>io.insert-koin</groupId>
42+
<artifactId>koin-test</artifactId>
43+
<version>${koin.version}</version>
44+
</dependency>
45+
<dependency>
46+
<groupId>io.insert-koin</groupId>
47+
<artifactId>koin-test-junit5</artifactId>
48+
<version>${koin.version}</version>
49+
</dependency>
50+
<dependency>
51+
<groupId>io.mockk</groupId>
52+
<artifactId>mockk</artifactId>
53+
<version>${mockk.version}</version>
54+
<scope>test</scope>
55+
</dependency>
56+
</dependencies>
57+
58+
<properties>
59+
<koin.version>3.2.0-beta-1</koin.version>
60+
<ktor.version>1.6.8</ktor.version>
61+
<mockk.version>1.12.3</mockk.version>
62+
</properties>
63+
64+
</project>

koin-guide/pom.xml

Lines changed: 5 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -4,59 +4,16 @@
44
<modelVersion>4.0.0</modelVersion>
55
<artifactId>koin-guide</artifactId>
66
<name>koin-guide</name>
7-
<description>Demo project for Koin</description>
7+
<packaging>pom</packaging>
88

99
<parent>
1010
<groupId>com.baeldung</groupId>
1111
<artifactId>kotlin-modules</artifactId>
1212
<version>1.0.0-SNAPSHOT</version>
1313
</parent>
1414

15-
<dependencies>
16-
<dependency>
17-
<groupId>io.insert-koin</groupId>
18-
<artifactId>koin-core</artifactId>
19-
<version>${koin.version}</version>
20-
</dependency>
21-
<dependency>
22-
<groupId>io.insert-koin</groupId>
23-
<artifactId>koin-ktor</artifactId>
24-
<version>${koin.version}</version>
25-
</dependency>
26-
<dependency>
27-
<groupId>io.ktor</groupId>
28-
<artifactId>ktor-server-core</artifactId>
29-
<version>${ktor.version}</version>
30-
</dependency>
31-
<dependency>
32-
<groupId>io.ktor</groupId>
33-
<artifactId>ktor-server-netty</artifactId>
34-
<version>${ktor.version}</version>
35-
</dependency>
15+
<modules>
16+
<module>koin-plain</module>
17+
</modules>
3618

37-
<!-- Test -->
38-
<dependency>
39-
<groupId>io.insert-koin</groupId>
40-
<artifactId>koin-test</artifactId>
41-
<version>${koin.version}</version>
42-
</dependency>
43-
<dependency>
44-
<groupId>io.insert-koin</groupId>
45-
<artifactId>koin-test-junit5</artifactId>
46-
<version>${koin.version}</version>
47-
</dependency>
48-
<dependency>
49-
<groupId>io.mockk</groupId>
50-
<artifactId>mockk</artifactId>
51-
<version>${mockk.version}</version>
52-
<scope>test</scope>
53-
</dependency>
54-
</dependencies>
55-
56-
<properties>
57-
<koin.version>3.2.0-beta-1</koin.version>
58-
<ktor.version>1.6.8</ktor.version>
59-
<mockk.version>1.12.3</mockk.version>
60-
</properties>
61-
62-
</project>
19+
</project>

0 commit comments

Comments
 (0)