├── 1.0 ├── android │ ├── .idea │ │ ├── .name │ │ ├── codeStyles │ │ │ ├── codeStyleConfig.xml │ │ │ └── Project.xml │ │ ├── misc.xml │ │ ├── runConfigurations.xml │ │ └── gradle.xml │ ├── app │ │ ├── .gitignore │ │ ├── src │ │ │ ├── main │ │ │ │ ├── res │ │ │ │ │ ├── values │ │ │ │ │ │ ├── dimens.xml │ │ │ │ │ │ ├── strings.xml │ │ │ │ │ │ ├── colors.xml │ │ │ │ │ │ └── styles.xml │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ │ │ ├── ic_launcher.xml │ │ │ │ │ │ └── ic_launcher_round.xml │ │ │ │ │ ├── menu │ │ │ │ │ │ └── menu_main.xml │ │ │ │ │ ├── layout │ │ │ │ │ │ ├── content_main.xml │ │ │ │ │ │ └── activity_main.xml │ │ │ │ │ ├── drawable-v24 │ │ │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ │ └── drawable │ │ │ │ │ │ └── ic_launcher_background.xml │ │ │ │ ├── AndroidManifest.xml │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── myapplication │ │ │ │ │ └── MainActivity.kt │ │ │ ├── test │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── myapplication │ │ │ │ │ └── ExampleUnitTest.kt │ │ │ └── androidTest │ │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── myapplication │ │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── proguard-rules.pro │ │ └── build.gradle │ ├── settings.gradle │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── .gitignore │ ├── build.gradle │ ├── gradle.properties │ ├── gradlew.bat │ └── gradlew ├── kotlin-native │ ├── .gradle │ │ ├── 5.5 │ │ │ ├── gc.properties │ │ │ ├── fileChanges │ │ │ │ └── last-build.bin │ │ │ ├── fileHashes │ │ │ │ ├── fileHashes.bin │ │ │ │ └── fileHashes.lock │ │ │ └── executionHistory │ │ │ │ ├── executionHistory.bin │ │ │ │ └── executionHistory.lock │ │ ├── vcs-1 │ │ │ └── gc.properties │ │ └── buildOutputCleanup │ │ │ ├── cache.properties │ │ │ ├── outputFiles.bin │ │ │ └── buildOutputCleanup.lock │ ├── build │ │ ├── tmp │ │ │ └── metadataJar │ │ │ │ └── MANIFEST.MF │ │ ├── libs │ │ │ └── kotlin-native-metadata.jar │ │ ├── classes │ │ │ └── kotlin │ │ │ │ └── CSVParser │ │ │ │ └── main │ │ │ │ └── kotlin-native.klib │ │ └── bin │ │ │ └── CSVParser │ │ │ ├── CSVParserAppDebugExecutable │ │ │ ├── CSVParserApp.kexe │ │ │ └── CSVParserApp.kexe.dSYM │ │ │ │ └── Contents │ │ │ │ ├── Resources │ │ │ │ └── DWARF │ │ │ │ │ └── CSVParserApp.kexe │ │ │ │ └── Info.plist │ │ │ └── CSVParserAppReleaseExecutable │ │ │ └── CSVParserApp.kexe │ ├── settings.gradle.kts │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── .idea │ │ ├── misc.xml │ │ ├── gradle.xml │ │ ├── modules │ │ │ ├── kotlin-native.commonMain.iml │ │ │ ├── kotlin-native.CSVParserMain.iml │ │ │ ├── kotlin-native.commonTest.iml │ │ │ └── kotlin-native.CSVParserTest.iml │ │ └── workspace.xml │ ├── README.md │ ├── build.gradle.kts │ ├── src │ │ └── CSVParserMain │ │ │ └── kotlin │ │ │ └── CsvParser.kt │ ├── gradlew.bat │ └── gradlew └── spring-boot │ ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── kotlin │ │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ └── DemoApplication.kt │ └── test │ │ └── kotlin │ │ └── com │ │ └── example │ │ └── demo │ │ └── DemoApplicationTests.kt │ ├── settings.gradle.kts │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── .gitignore │ ├── build.gradle.kts │ ├── gradlew.bat │ └── gradlew ├── 4.0 ├── fu │ ├── src │ │ ├── main │ │ │ ├── resources │ │ │ │ └── application.properties │ │ │ └── kotlin │ │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── fu │ │ │ │ └── FuApplication.kt │ │ └── test │ │ │ └── kotlin │ │ │ └── com │ │ │ └── example │ │ │ └── fu │ │ │ └── FuApplicationTests.kt │ ├── .mvn │ │ └── wrapper │ │ │ ├── maven-wrapper.jar │ │ │ ├── maven-wrapper.properties │ │ │ └── MavenWrapperDownloader.java │ ├── .gitignore │ ├── pom.xml │ ├── mvnw.cmd │ └── mvnw └── reactive │ ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── kotlin │ │ │ └── com │ │ │ └── example │ │ │ └── reactive │ │ │ └── ReactiveApplication.kt │ └── test │ │ └── kotlin │ │ └── com │ │ └── example │ │ └── reactive │ │ └── ReactiveApplicationTests.kt │ ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ ├── maven-wrapper.properties │ │ └── MavenWrapperDownloader.java │ ├── .gitignore │ ├── pom.xml │ ├── mvnw.cmd │ └── mvnw ├── 3.0 └── jdbc │ ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ ├── maven-wrapper.properties │ │ └── MavenWrapperDownloader.java │ ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── kotlin │ │ │ └── com │ │ │ └── example │ │ │ └── jdbc │ │ │ └── JdbcApplication.kt │ └── test │ │ └── kotlin │ │ └── com │ │ └── example │ │ └── jdbc │ │ └── JdbcApplicationTests.kt │ ├── .gitignore │ ├── pom.xml │ ├── mvnw.cmd │ └── mvnw └── README.md /1.0/android/.idea/.name: -------------------------------------------------------------------------------- 1 | My Application -------------------------------------------------------------------------------- /1.0/android/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /1.0/kotlin-native/.gradle/5.5/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /1.0/kotlin-native/.gradle/vcs-1/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /4.0/fu/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /1.0/kotlin-native/.gradle/5.5/fileChanges/last-build.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /1.0/spring-boot/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /4.0/reactive/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /1.0/spring-boot/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | rootProject.name = "demo" 2 | -------------------------------------------------------------------------------- /1.0/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | rootProject.name='My Application' 3 | -------------------------------------------------------------------------------- /1.0/kotlin-native/build/tmp/metadataJar/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | 3 | -------------------------------------------------------------------------------- /1.0/kotlin-native/.gradle/buildOutputCleanup/cache.properties: -------------------------------------------------------------------------------- 1 | #Fri Dec 13 15:18:21 PST 2019 2 | gradle.version=5.5 3 | -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 16dp 3 | 4 | -------------------------------------------------------------------------------- /1.0/kotlin-native/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /4.0/fu/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/4.0/fu/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /3.0/jdbc/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/3.0/jdbc/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /4.0/reactive/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/4.0/reactive/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /1.0/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /1.0/spring-boot/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/spring-boot/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /1.0/kotlin-native/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /1.0/kotlin-native/.gradle/5.5/fileHashes/fileHashes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/.gradle/5.5/fileHashes/fileHashes.bin -------------------------------------------------------------------------------- /1.0/kotlin-native/.gradle/5.5/fileHashes/fileHashes.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/.gradle/5.5/fileHashes/fileHashes.lock -------------------------------------------------------------------------------- /1.0/kotlin-native/build/libs/kotlin-native-metadata.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/build/libs/kotlin-native-metadata.jar -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | My Application 3 | Settings 4 | 5 | -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /1.0/kotlin-native/.gradle/buildOutputCleanup/outputFiles.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/.gradle/buildOutputCleanup/outputFiles.bin -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /1.0/android/.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /1.0/kotlin-native/.gradle/5.5/executionHistory/executionHistory.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/.gradle/5.5/executionHistory/executionHistory.bin -------------------------------------------------------------------------------- /1.0/kotlin-native/.gradle/5.5/executionHistory/executionHistory.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/.gradle/5.5/executionHistory/executionHistory.lock -------------------------------------------------------------------------------- /1.0/kotlin-native/.gradle/buildOutputCleanup/buildOutputCleanup.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/.gradle/buildOutputCleanup/buildOutputCleanup.lock -------------------------------------------------------------------------------- /1.0/kotlin-native/build/classes/kotlin/CSVParser/main/kotlin-native.klib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/build/classes/kotlin/CSVParser/main/kotlin-native.klib -------------------------------------------------------------------------------- /1.0/kotlin-native/build/bin/CSVParser/CSVParserAppDebugExecutable/CSVParserApp.kexe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/build/bin/CSVParser/CSVParserAppDebugExecutable/CSVParserApp.kexe -------------------------------------------------------------------------------- /1.0/kotlin-native/build/bin/CSVParser/CSVParserAppReleaseExecutable/CSVParserApp.kexe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/build/bin/CSVParser/CSVParserAppReleaseExecutable/CSVParserApp.kexe -------------------------------------------------------------------------------- /3.0/jdbc/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar 3 | -------------------------------------------------------------------------------- /3.0/jdbc/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url=jdbc:postgresql://localhost/orders 2 | spring.datasource.username=orders 3 | spring.datasource.password=orders 4 | spring.datasource.driver-class-name=org.postgresql.Driver 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /4.0/fu/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar 3 | -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #008577 4 | #00574B 5 | #D81B60 6 | 7 | -------------------------------------------------------------------------------- /1.0/kotlin-native/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /1.0/spring-boot/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /4.0/reactive/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar 3 | -------------------------------------------------------------------------------- /1.0/android/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | -------------------------------------------------------------------------------- /1.0/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Dec 13 15:12:26 PST 2019 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip 7 | -------------------------------------------------------------------------------- /1.0/kotlin-native/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | -------------------------------------------------------------------------------- /4.0/fu/src/test/kotlin/com/example/fu/FuApplicationTests.kt: -------------------------------------------------------------------------------- 1 | package com.example.fu 2 | 3 | import org.junit.jupiter.api.Test 4 | import org.springframework.boot.test.context.SpringBootTest 5 | 6 | @SpringBootTest 7 | class FuApplicationTests { 8 | 9 | @Test 10 | fun contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /3.0/jdbc/src/test/kotlin/com/example/jdbc/JdbcApplicationTests.kt: -------------------------------------------------------------------------------- 1 | package com.example.jdbc 2 | 3 | import org.junit.jupiter.api.Test 4 | import org.springframework.boot.test.context.SpringBootTest 5 | 6 | @SpringBootTest 7 | class JdbcApplicationTests { 8 | 9 | @Test 10 | fun contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /1.0/kotlin-native/build/bin/CSVParser/CSVParserAppDebugExecutable/CSVParserApp.kexe.dSYM/Contents/Resources/DWARF/CSVParserApp.kexe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joshlong/kotlin-and-spring-livelessons/HEAD/1.0/kotlin-native/build/bin/CSVParser/CSVParserAppDebugExecutable/CSVParserApp.kexe.dSYM/Contents/Resources/DWARF/CSVParserApp.kexe -------------------------------------------------------------------------------- /1.0/spring-boot/src/test/kotlin/com/example/demo/DemoApplicationTests.kt: -------------------------------------------------------------------------------- 1 | package com.example.demo 2 | 3 | import org.junit.jupiter.api.Test 4 | import org.springframework.boot.test.context.SpringBootTest 5 | 6 | @SpringBootTest 7 | class DemoApplicationTests { 8 | 9 | @Test 10 | fun contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /4.0/reactive/src/test/kotlin/com/example/reactive/ReactiveApplicationTests.kt: -------------------------------------------------------------------------------- 1 | package com.example.reactive 2 | 3 | import org.junit.jupiter.api.Test 4 | import org.springframework.boot.test.context.SpringBootTest 5 | 6 | @SpringBootTest 7 | class ReactiveApplicationTests { 8 | 9 | @Test 10 | fun contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /1.0/spring-boot/src/main/kotlin/com/example/demo/DemoApplication.kt: -------------------------------------------------------------------------------- 1 | package com.example.demo 2 | 3 | import org.springframework.boot.autoconfigure.SpringBootApplication 4 | import org.springframework.boot.runApplication 5 | 6 | @SpringBootApplication 7 | class DemoApplication 8 | 9 | fun main(args: Array) { 10 | runApplication(*args) 11 | } 12 | -------------------------------------------------------------------------------- /1.0/android/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Kotlin and Spring Livelessons 2 | 3 | ## Kotlin Everywhere 4 | * How I Learned to Stop Worrying and Love Kotlin 5 | * A Tour of the Ecosystem 6 | 7 | ## Kotlin, the Language 8 | * Syntax 9 | * Coroutines 10 | 11 | ## Kotlin as a Better Java 12 | * Motivations 13 | * JdbcTemplate 14 | * Exposed ORM 15 | 16 | ## Kotlin DSLs and Spring 17 | * Motivations 18 | * Reactive Web 19 | * Gateway 20 | * Functional Configuration 21 | * Spring Fu 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /3.0/jdbc/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /4.0/fu/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /1.0/android/app/src/test/java/com/example/myapplication/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.example.myapplication 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /4.0/reactive/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /1.0/spring-boot/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | .gradle 3 | build/ 4 | !gradle/wrapper/gradle-wrapper.jar 5 | !**/src/main/** 6 | !**/src/test/** 7 | 8 | ### STS ### 9 | .apt_generated 10 | .classpath 11 | .factorypath 12 | .project 13 | .settings 14 | .springBeans 15 | .sts4-cache 16 | 17 | ### IntelliJ IDEA ### 18 | .idea 19 | *.iws 20 | *.iml 21 | *.ipr 22 | out/ 23 | 24 | ### NetBeans ### 25 | /nbproject/private/ 26 | /nbbuild/ 27 | /dist/ 28 | /nbdist/ 29 | /.nb-gradle/ 30 | 31 | ### VS Code ### 32 | .vscode/ 33 | -------------------------------------------------------------------------------- /1.0/android/.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /1.0/kotlin-native/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16 | 17 | -------------------------------------------------------------------------------- /1.0/kotlin-native/README.md: -------------------------------------------------------------------------------- 1 | # CSV parser 2 | 3 | This example shows how one could implement simple comma separated values reader and parser in Kotlin. 4 | A sample data [European Mammals Red List for 2009](https://data.europa.eu/euodp/en/data/dataset?res_format=CSV) 5 | from EU is being used. 6 | 7 | To build use `./gradlew assemble`. 8 | 9 | To run use `./gradlew runCSVParserAppReleaseExecutableCSVParser` or execute the program directly: 10 | 11 | ./build/bin/CSVParser/CSVParserAppReleaseExecutable/CSVParserApp.kexe \ 12 | ./European_Mammals_Red_List_Nov_2009.csv 4 100 13 | 14 | It will print number of all unique entries in fifth column 15 | (Family, zero-based index) in first 100 rows of the CSV file. 16 | -------------------------------------------------------------------------------- /1.0/android/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /1.0/android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext.kotlin_version = '1.3.61' 5 | repositories { 6 | google() 7 | jcenter() 8 | 9 | } 10 | dependencies { 11 | classpath 'com.android.tools.build:gradle:3.5.3' 12 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 13 | // NOTE: Do not place your application dependencies here; they belong 14 | // in the individual module build.gradle files 15 | } 16 | } 17 | 18 | allprojects { 19 | repositories { 20 | google() 21 | jcenter() 22 | 23 | } 24 | } 25 | 26 | task clean(type: Delete) { 27 | delete rootProject.buildDir 28 | } 29 | -------------------------------------------------------------------------------- /1.0/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 15 | 16 |