Skip to content

Commit 3ce0294

Browse files
committed
[BAEL-8472] - Removed unused dependencies, moved spek and exposed framework codes to kollin libraries
1 parent 9e2a18a commit 3ce0294

9 files changed

Lines changed: 2 additions & 65 deletions

File tree

‎core-kotlin/README.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@
3333
- [Idiomatic Logging in Kotlin](http://www.baeldung.com/kotlin-logging)
3434
- [Kotlin Constructors](https://www.baeldung.com/kotlin-constructors)
3535
- [Creational Design Patterns in Kotlin: Builder](https://www.baeldung.com/kotlin-builder-pattern)
36-
- [Kotlin Nested and Inner Classes](https://www.baeldung.com/kotlin-inner-classes)
37-
- [Guide to the Kotlin Exposed Framework](https://www.baeldung.com/kotlin-exposed-persistence)
36+
- [Kotlin Nested and Inner Classes](https://www.baeldung.com/kotlin-inner-classes)

‎core-kotlin/build.gradle‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ version '1.0-SNAPSHOT'
66

77
buildscript {
88
ext.kotlin_version = '1.2.41'
9-
ext.ktor_version = '0.9.2'
109

1110
repositories {
1211
mavenCentral()
@@ -44,10 +43,6 @@ sourceSets {
4443
}
4544

4645
dependencies {
47-
compile "io.ktor:ktor-server-netty:$ktor_version"
4846
compile "ch.qos.logback:logback-classic:1.2.1"
49-
compile "io.ktor:ktor-gson:$ktor_version"
5047
testCompile group: 'junit', name: 'junit', version: '4.12'
51-
implementation 'com.beust:klaxon:3.0.1'
52-
5348
}

‎core-kotlin/pom.xml‎

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,7 @@
1212
<relativePath>../parent-kotlin</relativePath>
1313
</parent>
1414

15-
<repositories>
16-
<repository>
17-
<id>exposed</id>
18-
<name>exposed</name>
19-
<url>https://dl.bintray.com/kotlin/exposed</url>
20-
</repository>
21-
</repositories>
22-
2315
<dependencies>
24-
<dependency>
25-
<groupId>org.jetbrains.spek</groupId>
26-
<artifactId>spek-api</artifactId>
27-
<version>1.1.5</version>
28-
<scope>test</scope>
29-
</dependency>
30-
<dependency>
31-
<groupId>org.jetbrains.spek</groupId>
32-
<artifactId>spek-subject-extension</artifactId>
33-
<version>1.1.5</version>
34-
<scope>test</scope>
35-
</dependency>
36-
<dependency>
37-
<groupId>org.jetbrains.spek</groupId>
38-
<artifactId>spek-junit-platform-engine</artifactId>
39-
<version>1.1.5</version>
40-
<scope>test</scope>
41-
</dependency>
4216
<dependency>
4317
<groupId>org.apache.commons</groupId>
4418
<artifactId>commons-math3</artifactId>
@@ -50,38 +24,12 @@
5024
<version>${junit.platform.version}</version>
5125
<scope>test</scope>
5226
</dependency>
53-
<dependency>
54-
<groupId>khttp</groupId>
55-
<artifactId>khttp</artifactId>
56-
<version>${khttp.version}</version>
57-
</dependency>
58-
<dependency>
59-
<groupId>com.nhaarman</groupId>
60-
<artifactId>mockito-kotlin</artifactId>
61-
<version>${mockito-kotlin.version}</version>
62-
<scope>test</scope>
63-
</dependency>
64-
<dependency>
65-
<groupId>com.github.salomonbrys.kodein</groupId>
66-
<artifactId>kodein</artifactId>
67-
<version>${kodein.version}</version>
68-
</dependency>
6927
<dependency>
7028
<groupId>org.assertj</groupId>
7129
<artifactId>assertj-core</artifactId>
7230
<version>${assertj.version}</version>
7331
<scope>test</scope>
7432
</dependency>
75-
<dependency>
76-
<groupId>com.beust</groupId>
77-
<artifactId>klaxon</artifactId>
78-
<version>${klaxon.version}</version>
79-
</dependency>
80-
<dependency>
81-
<groupId>org.jetbrains.exposed</groupId>
82-
<artifactId>exposed</artifactId>
83-
<version>${exposed.version}</version>
84-
</dependency>
8533
<dependency>
8634
<groupId>com.h2database</groupId>
8735
<artifactId>h2</artifactId>
@@ -110,16 +58,11 @@
11058
</dependencies>
11159

11260
<properties>
113-
<mockito-kotlin.version>1.5.0</mockito-kotlin.version>
114-
<kodein.version>4.1.0</kodein.version>
115-
<klaxon.version>3.0.4</klaxon.version>
116-
<khttp.version>0.1.0</khttp.version>
11761
<commons-math3.version>3.6.1</commons-math3.version>
11862
<junit.platform.version>1.1.1</junit.platform.version>
11963
<junit.vintage.version>5.2.0</junit.vintage.version>
12064
<assertj.version>3.10.0</assertj.version>
12165
<h2database.version>1.4.197</h2database.version>
122-
<exposed.version>0.10.4</exposed.version>
12366
<fuel.version>1.15.0</fuel.version>
12467
</properties>
12568

‎kotlin-libraries/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
- [Kotlin Dependency Injection with Kodein](http://www.baeldung.com/kotlin-kodein-dependency-injection)
66
- [Writing Specifications with Kotlin and Spek](http://www.baeldung.com/kotlin-spek)
77
- [Processing JSON with Kotlin and Klaxson](http://www.baeldung.com/kotlin-json-klaxson)
8-
- [Java EE 8 Security API](http://www.baeldung.com/java-ee-8-security)
98
- [Kotlin with Ktor](http://www.baeldung.com/kotlin-ktor)
109
- [Idiomatic Logging in Kotlin](http://www.baeldung.com/kotlin-logging)
10+
- [Guide to the Kotlin Exposed Framework](https://www.baeldung.com/kotlin-exposed-persistence)

core-kotlin/src/test/kotlin/com/baeldung/kotlin/exposed/ExposedTest.kt renamed to kotlin-libraries/src/test/kotlin/com/baeldung/kotlin/exposed/ExposedTest.kt

File renamed without changes.

core-kotlin/src/test/kotlin/com/baeldung/kotlin/spek/CalculatorSubjectTest5.kt renamed to kotlin-libraries/src/test/kotlin/com/baeldung/kotlin/spek/CalculatorSubjectTest5.kt

File renamed without changes.

core-kotlin/src/test/kotlin/com/baeldung/kotlin/spek/CalculatorTest5.kt renamed to kotlin-libraries/src/test/kotlin/com/baeldung/kotlin/spek/CalculatorTest5.kt

File renamed without changes.

core-kotlin/src/test/kotlin/com/baeldung/kotlin/spek/DataDrivenTest5.kt renamed to kotlin-libraries/src/test/kotlin/com/baeldung/kotlin/spek/DataDrivenTest5.kt

File renamed without changes.

core-kotlin/src/test/kotlin/com/baeldung/kotlin/spek/GroupTest5.kt renamed to kotlin-libraries/src/test/kotlin/com/baeldung/kotlin/spek/GroupTest5.kt

File renamed without changes.

0 commit comments

Comments
 (0)