Kotlin - Word Count (not) complete
This commit is contained in:
parent
1659c90a27
commit
282faafe84
194 changed files with 5598 additions and 0 deletions
37
kotlin/accumulate/README.md
Normal file
37
kotlin/accumulate/README.md
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Accumulate
|
||||
|
||||
Implement the `accumulate` operation, which, given a collection and an
|
||||
operation to perform on each element of the collection, returns a new
|
||||
collection containing the result of applying that operation to each element of
|
||||
the input collection.
|
||||
|
||||
Given the collection of numbers:
|
||||
|
||||
- 1, 2, 3, 4, 5
|
||||
|
||||
And the operation:
|
||||
|
||||
- square a number (`x => x * x`)
|
||||
|
||||
Your code should be able to produce the collection of squares:
|
||||
|
||||
- 1, 4, 9, 16, 25
|
||||
|
||||
Check out the test suite to see the expected function signature.
|
||||
|
||||
## Restrictions
|
||||
|
||||
Keep your hands off that collect/map/fmap/whatchamacallit functionality
|
||||
provided by your standard library!
|
||||
Solve this one yourself using other basic tools instead.
|
||||
|
||||
Lisp specific: it's perfectly fine to use `MAPCAR` or the equivalent,
|
||||
as this is idiomatic Lisp, not a library function.
|
||||
|
||||
## Source
|
||||
|
||||
Conversation with James Edward Gray II [https://twitter.com/jeg2](https://twitter.com/jeg2)
|
||||
|
||||
## Submitting Incomplete Solutions
|
||||
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
||||
|
28
kotlin/accumulate/build.gradle
Normal file
28
kotlin/accumulate/build.gradle
Normal file
|
@ -0,0 +1,28 @@
|
|||
buildscript {
|
||||
ext.kotlin_version = '1.1.1'
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
||||
}
|
||||
test {
|
||||
testLogging {
|
||||
exceptionFormat = 'full'
|
||||
events = ["passed", "failed", "skipped"]
|
||||
}
|
||||
}
|
0
kotlin/accumulate/src/main/kotlin/.keep
Normal file
0
kotlin/accumulate/src/main/kotlin/.keep
Normal file
57
kotlin/accumulate/src/test/kotlin/AccumulateTest.kt
Normal file
57
kotlin/accumulate/src/test/kotlin/AccumulateTest.kt
Normal file
|
@ -0,0 +1,57 @@
|
|||
import org.junit.Test
|
||||
import org.junit.Ignore
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
class AccumulateTest {
|
||||
|
||||
|
||||
@Test
|
||||
fun emptyAccumulateProducesEmptyAccumulation() {
|
||||
val input = listOf<Int>()
|
||||
val expectedOutput = listOf<Int>()
|
||||
assertEquals(expectedOutput, Accumulate.accumulate(input, { x -> x * x }))
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
fun accumulateSquares() {
|
||||
val input = listOf(1, 2, 3)
|
||||
val expectedOutput = listOf(1, 4, 9)
|
||||
assertEquals(expectedOutput, Accumulate.accumulate(input, { x -> x * x }))
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
fun accumulateUpperCases() {
|
||||
val input = listOf("hello", "world")
|
||||
val expectedOutput = listOf("HELLO", "WORLD")
|
||||
assertEquals(expectedOutput, Accumulate.accumulate(input, { it.toUpperCase() }))
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
fun accumulateReversedStrings() {
|
||||
val input = "the quick brown fox etc".split(" ")
|
||||
val expectedOutput = "eht kciuq nworb xof cte".split(" ")
|
||||
assertEquals(expectedOutput, Accumulate.accumulate(input, { it.reversed() }))
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
fun accumulateWithinAccumulate() {
|
||||
val input1 = listOf("a", "b", "c")
|
||||
val input2 = listOf("1", "2", "3")
|
||||
val expectedOutput = listOf("a1 a2 a3", "b1 b2 b3", "c1 c2 c3")
|
||||
assertEquals(expectedOutput, Accumulate.accumulate(input1,
|
||||
{ c -> Accumulate.accumulate(input2, { d -> c + d }).joinToString(" ") }
|
||||
))
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
fun accumulateToDifferentType() {
|
||||
val input = listOf(1, 2, 3)
|
||||
val expectedOutput = listOf("1", "2", "3")
|
||||
assertEquals(expectedOutput, Accumulate.accumulate(input, { it.toString() }))
|
||||
}
|
||||
}
|
BIN
kotlin/etl/.gradle/3.5/file-changes/last-build.bin
Normal file
BIN
kotlin/etl/.gradle/3.5/file-changes/last-build.bin
Normal file
Binary file not shown.
BIN
kotlin/etl/.gradle/3.5/taskHistory/taskHistory.lock
Normal file
BIN
kotlin/etl/.gradle/3.5/taskHistory/taskHistory.lock
Normal file
Binary file not shown.
0
kotlin/etl/.gradle/buildOutputCleanup/built.bin
Normal file
0
kotlin/etl/.gradle/buildOutputCleanup/built.bin
Normal file
2
kotlin/etl/.gradle/buildOutputCleanup/cache.properties
Normal file
2
kotlin/etl/.gradle/buildOutputCleanup/cache.properties
Normal file
|
@ -0,0 +1,2 @@
|
|||
#Fri Jun 02 17:32:18 EDT 2017
|
||||
gradle.version=3.5
|
|
@ -0,0 +1 @@
|
|||
|
9
kotlin/etl/.idea/compiler.xml
generated
Normal file
9
kotlin/etl/.idea/compiler.xml
generated
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel>
|
||||
<module name="etl_main" target="1.8" />
|
||||
<module name="etl_test" target="1.8" />
|
||||
</bytecodeTargetLevel>
|
||||
</component>
|
||||
</project>
|
19
kotlin/etl/.idea/gradle.xml
generated
Normal file
19
kotlin/etl/.idea/gradle.xml
generated
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="distributionType" value="LOCAL" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleHome" value="C:/Gradle/gradle-3.5" />
|
||||
<option name="gradleJvm" value="1.8" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
</set>
|
||||
</option>
|
||||
<option name="useAutoImport" value="true" />
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
11
kotlin/etl/.idea/libraries/Gradle__junit_junit_4_12.xml
generated
Normal file
11
kotlin/etl/.idea/libraries/Gradle__junit_junit_4_12.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: junit:junit:4.12">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/a6c32b40bf3d76eca54e3c601e5d1470c86fcdfa/junit-4.12-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
11
kotlin/etl/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
generated
Normal file
11
kotlin/etl/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.hamcrest:hamcrest-core:1.3">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/42a25dc3219429f0e5d060061f71acb49bf010a0/hamcrest-core-1.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/1dc37250fbc78e23a65a67fbbaf71d2e9cbc3c0b/hamcrest-core-1.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
11
kotlin/etl/.idea/libraries/Gradle__org_jetbrains_annotations_13_0.xml
generated
Normal file
11
kotlin/etl/.idea/libraries/Gradle__org_jetbrains_annotations_13_0.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains:annotations:13.0">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/5991ca87ef1fb5544943d9abc5a9a37583fabe03/annotations-13.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
11
kotlin/etl/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_1_1.xml
generated
Normal file
11
kotlin/etl/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_1_1.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/98e484e67f913e934559f7f55f0c94be5593f03c/kotlin-stdlib-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/a287944d92875a1f3c2161e5cddaede7720913d1/kotlin-stdlib-1.1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
11
kotlin/etl/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_1_1_1.xml
generated
Normal file
11
kotlin/etl/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_1_1_1.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains.kotlin:kotlin-test:1.1.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test/1.1.1/5a852a554eb4f9fb93efdffa352b7983ed595e32/kotlin-test-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test/1.1.1/4b9a869f86569edea4a07d19b9749ac835fb7207/kotlin-test-1.1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
11
kotlin/etl/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_junit_1_1_1.xml
generated
Normal file
11
kotlin/etl/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_junit_1_1_1.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains.kotlin:kotlin-test-junit:1.1.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test-junit/1.1.1/a1865f59b6f72597452e5bdfefeb14d13bc31c7d/kotlin-test-junit-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test-junit/1.1.1/ed59de63c4565c708124caaa4e86562a780f9ba0/kotlin-test-junit-1.1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
6
kotlin/etl/.idea/misc.xml
generated
Normal file
6
kotlin/etl/.idea/misc.xml
generated
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/classes" />
|
||||
</component>
|
||||
</project>
|
10
kotlin/etl/.idea/modules.xml
generated
Normal file
10
kotlin/etl/.idea/modules.xml
generated
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/etl.iml" filepath="$PROJECT_DIR$/etl.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/etl_main.iml" filepath="$PROJECT_DIR$/.idea/modules/etl_main.iml" group="etl" />
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/etl_test.iml" filepath="$PROJECT_DIR$/.idea/modules/etl_test.iml" group="etl" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
40
kotlin/etl/.idea/modules/etl_main.iml
generated
Normal file
40
kotlin/etl/.idea/modules/etl_main.iml
generated
Normal file
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.id="etl:main" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="kotlin-language" name="Kotlin">
|
||||
<configuration version="2" platform="JVM 1.6" useProjectSettings="false">
|
||||
<compilerSettings />
|
||||
<compilerArguments>
|
||||
<option name="noStdlib" value="true" />
|
||||
<option name="noReflect" value="true" />
|
||||
<option name="moduleName" value="etl_main" />
|
||||
<option name="jvmTarget" value="1.6" />
|
||||
<option name="addCompilerBuiltIns" value="true" />
|
||||
<option name="loadBuiltInsFromDependencies" value="true" />
|
||||
<option name="languageVersion" value="1.1" />
|
||||
<option name="apiVersion" value="1.1" />
|
||||
<option name="pluginClasspaths">
|
||||
<array />
|
||||
</option>
|
||||
<option name="coroutinesWarn" value="true" />
|
||||
<option name="pluginOptions">
|
||||
<array />
|
||||
</option>
|
||||
</compilerArguments>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||
<output url="file://$MODULE_DIR$/../../build/classes/main" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$/../../src/main">
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/main/kotlin" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/main/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.1" level="project" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" />
|
||||
</component>
|
||||
</module>
|
46
kotlin/etl/.idea/modules/etl_test.iml
generated
Normal file
46
kotlin/etl/.idea/modules/etl_test.iml
generated
Normal file
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.id="etl:test" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="kotlin-language" name="Kotlin">
|
||||
<configuration version="2" platform="JVM 1.6" useProjectSettings="false">
|
||||
<compilerSettings />
|
||||
<compilerArguments>
|
||||
<option name="noStdlib" value="true" />
|
||||
<option name="noReflect" value="true" />
|
||||
<option name="moduleName" value="etl_main" />
|
||||
<option name="jvmTarget" value="1.6" />
|
||||
<option name="addCompilerBuiltIns" value="true" />
|
||||
<option name="loadBuiltInsFromDependencies" value="true" />
|
||||
<option name="languageVersion" value="1.1" />
|
||||
<option name="apiVersion" value="1.1" />
|
||||
<option name="pluginClasspaths">
|
||||
<array />
|
||||
</option>
|
||||
<option name="coroutinesWarn" value="true" />
|
||||
<option name="pluginOptions">
|
||||
<array />
|
||||
</option>
|
||||
</compilerArguments>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||
<output-test url="file://$MODULE_DIR$/../../build/classes/test" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$/../../src/test">
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/test/java" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/test/kotlin" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/test/resources" type="java-test-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="etl_main" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.1" level="project" />
|
||||
<orderEntry type="library" name="Gradle: junit:junit:4.12" level="project" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-test-junit:1.1.1" level="project" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" />
|
||||
<orderEntry type="library" name="Gradle: org.hamcrest:hamcrest-core:1.3" level="project" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-test:1.1.1" level="project" />
|
||||
</component>
|
||||
<component name="TestModuleProperties" production-module="etl_main" />
|
||||
</module>
|
867
kotlin/etl/.idea/workspace.xml
generated
Normal file
867
kotlin/etl/.idea/workspace.xml
generated
Normal file
|
@ -0,0 +1,867 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="d25564a2-1c79-4b5c-a48f-404924bd4647" name="Default" comment="" />
|
||||
<ignored path="$PROJECT_DIR$/.gradle/" />
|
||||
<ignored path="$PROJECT_DIR$/build/" />
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="TRACKING_ENABLED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
||||
<component name="ExternalProjectsData">
|
||||
<projectState path="$PROJECT_DIR$">
|
||||
<ProjectState />
|
||||
</projectState>
|
||||
</component>
|
||||
<component name="FileEditorManager">
|
||||
<leaf>
|
||||
<file leaf-file-name="ETLTest.kt" pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/src/test/kotlin/ETLTest.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="817">
|
||||
<caret line="31" column="0" lean-forward="false" selection-start-line="31" selection-start-column="0" selection-end-line="31" selection-end-column="0" />
|
||||
<folding>
|
||||
<element signature="e#0#77#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="ETL.kt" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/src/main/kotlin/ETL.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="344">
|
||||
<caret line="8" column="1" lean-forward="false" selection-start-line="8" selection-start-column="1" selection-end-line="8" selection-end-column="1" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="FileTemplateManagerImpl">
|
||||
<option name="RECENT_TEMPLATES">
|
||||
<list>
|
||||
<option value="Kotlin Class" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="GradleLocalSettings">
|
||||
<option name="myGradleHomes">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="C:\Gradle\gradle-3.5" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="myGradleVersions">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="3.5" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="availableProjects">
|
||||
<map>
|
||||
<entry>
|
||||
<key>
|
||||
<ExternalProjectPojo>
|
||||
<option name="name" value="etl" />
|
||||
<option name="path" value="$PROJECT_DIR$" />
|
||||
</ExternalProjectPojo>
|
||||
</key>
|
||||
<value>
|
||||
<list>
|
||||
<ExternalProjectPojo>
|
||||
<option name="name" value="etl" />
|
||||
<option name="path" value="$PROJECT_DIR$" />
|
||||
</ExternalProjectPojo>
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="availableTasks">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$">
|
||||
<value>
|
||||
<list>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the components produced by root project 'etl'. [incubating]" />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="components" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles and tests this project and all projects that depend on it." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="buildDependents" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the sub-projects of root project 'etl'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="projects" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles main classes." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="classes" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the dependent components of components in root project 'etl'. [incubating]" />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="dependentComponents" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays all buildscript dependencies declared in root project 'etl'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="buildEnvironment" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Generates Gradle wrapper files." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="wrapper" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles test classes." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="testClasses" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Generates Javadoc API documentation for the main source code." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="javadoc" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles a jar archive containing the main classes." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="jar" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the configuration model of root project 'etl'. [incubating]" />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="model" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="copyMainKotlinClasses" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Processes main resources." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="processResources" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the tasks runnable from root project 'etl'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="tasks" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Initializes a new Gradle build." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="init" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="copyTestKotlinClasses" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Runs the unit tests." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="test" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles main Java source." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileJava" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles the source set 'test'.kotlin." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileTestKotlin" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the insight into a specific dependency in root project 'etl'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="dependencyInsight" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Runs all checks." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="check" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles the outputs of this project." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="assemble" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Deletes the build directory." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="clean" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles test Java source." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileTestJava" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays all dependencies declared in root project 'etl'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="dependencies" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Processes test resources." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="processTestResources" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays a help message." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="help" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Compiles the source set 'main'.kotlin." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="compileKotlin" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles and tests this project." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="build" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Assembles and tests this project and all projects it depends on." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="buildNeeded" />
|
||||
</ExternalTaskPojo>
|
||||
<ExternalTaskPojo>
|
||||
<option name="description" value="Displays the properties of root project 'etl'." />
|
||||
<option name="linkedExternalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="name" value="properties" />
|
||||
</ExternalTaskPojo>
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="modificationStamps">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$" value="1496439118519" />
|
||||
</map>
|
||||
</option>
|
||||
<option name="projectBuildClasspath">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$">
|
||||
<value>
|
||||
<ExternalProjectBuildClasspathPojo>
|
||||
<option name="modulesBuildClasspath">
|
||||
<map>
|
||||
<entry key="$PROJECT_DIR$">
|
||||
<value>
|
||||
<ExternalModuleBuildClasspathPojo>
|
||||
<option name="entries">
|
||||
<list>
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin/1.1.1/e742de8adf25f631b39f74e2d6fd00cd9cdd609e/kotlin-gradle-plugin-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin/1.1.1/5e3d99580c70b67a07cd70481943362e4b29d8d3/kotlin-gradle-plugin-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/f2d8698c46d1167ff24b06a840a87d91a02db891/commons-io-2.4-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-lang/commons-lang/2.6/67313d715fbf0ea4fd0bdb69217fb77f807a8ce5/commons-lang-2.6-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-lang/commons-lang/2.6/ce1edb914c94ebc388f086c6827e8bdeec71ac2/commons-lang-2.6.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/a287944d92875a1f3c2161e5cddaede7720913d1/kotlin-stdlib-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/98e484e67f913e934559f7f55f0c94be5593f03c/kotlin-stdlib-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-android-extensions/1.1.1/2c0ad82587d187f78c4063fa7867ed3c4dfa54ca/kotlin-android-extensions-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-android-extensions/1.1.1/56cfcc61bc91638ea52d13ce90b565f50be3d6f5/kotlin-android-extensions-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api/1.1.1/e48aafb092d4c3ddd6927f38f9f17f7117e1ef47/kotlin-gradle-plugin-api-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin-api/1.1.1/9083de2c98801f1fe058b6280234265269c1cad0/kotlin-gradle-plugin-api-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-embeddable/1.1.1/b84662e33f8f44d33265e964f1329ce5644af35c/kotlin-compiler-embeddable-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-embeddable/1.1.1/d975091bb224a04b3717505a55875608642cc8d3/kotlin-compiler-embeddable-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-runner/1.1.1/764b45d92a761810b29580aeae2fac3d614f9bf/kotlin-compiler-runner-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-runner/1.1.1/cad5c437ac58f7245673a6c4fd73a656dd259b26/kotlin-compiler-runner-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-annotation-processing/1.1.1/2756d002e8d1d1aa0d5a49e7c895b87514083fab/kotlin-annotation-processing-1.1.1-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-annotation-processing/1.1.1/9f7312cea58b39ce82368261cd227758df78eb32/kotlin-annotation-processing-1.1.1.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/5991ca87ef1fb5544943d9abc5a9a37583fabe03/annotations-13.0-sources.jar" />
|
||||
<option value="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar" />
|
||||
</list>
|
||||
</option>
|
||||
<option name="path" value="$PROJECT_DIR$" />
|
||||
</ExternalModuleBuildClasspathPojo>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="name" value="etl" />
|
||||
<option name="projectBuildClasspath">
|
||||
<list>
|
||||
<option value="C:/Gradle/gradle-3.5/lib/ant-1.9.6.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/ant-launcher-1.9.6.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-base-services-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-base-services-groovy-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-cli-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-core-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-docs-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-installation-beacon-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-jvm-services-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-launcher-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-logging-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-messaging-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-model-core-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-model-groovy-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-native-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-open-api-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-process-services-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-resources-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-runtime-api-info-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-script-kotlin-0.8.0.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-tooling-api-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-ui-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-version-info-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/gradle-wrapper-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/groovy-all-2.4.10.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-announce-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-antlr-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-build-cache-http-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-build-comparison-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-build-init-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-code-quality-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-composite-builds-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-dependency-management-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-diagnostics-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-ear-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-ide-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-ide-native-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-ide-play-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-ivy-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-jacoco-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-javascript-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-jetty-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-language-groovy-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-language-java-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-language-jvm-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-language-native-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-language-scala-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-maven-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-osgi-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-platform-base-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-platform-jvm-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-platform-native-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-platform-play-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-plugin-development-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-plugin-use-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-plugins-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-publish-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-reporting-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-resources-http-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-resources-s3-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-resources-sftp-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-scala-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-signing-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-test-kit-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-testing-base-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-testing-jvm-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-testing-native-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-tooling-api-builders-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/gradle-workers-3.5.jar" />
|
||||
<option value="C:/Gradle/gradle-3.5/lib/plugins/ivy-2.2.0.jar" />
|
||||
<option value="$PROJECT_DIR$/buildSrc/src/main/java" />
|
||||
<option value="$PROJECT_DIR$/buildSrc/src/main/groovy" />
|
||||
</list>
|
||||
</option>
|
||||
</ExternalProjectBuildClasspathPojo>
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="externalProjectsViewState">
|
||||
<projects_view />
|
||||
</option>
|
||||
</component>
|
||||
<component name="IdeDocumentHistory">
|
||||
<option name="CHANGED_PATHS">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/src/main/kotlin/ETL.kt" />
|
||||
<option value="$PROJECT_DIR$/src/test/kotlin/ETLTest.kt" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectFrameBounds">
|
||||
<option name="x" value="-16" />
|
||||
<option name="y" value="-16" />
|
||||
<option name="width" value="3872" />
|
||||
<option name="height" value="2092" />
|
||||
</component>
|
||||
<component name="ProjectView">
|
||||
<navigator currentView="ProjectPane" proportions="" version="1">
|
||||
<flattenPackages />
|
||||
<showMembers />
|
||||
<showModules />
|
||||
<showLibraryContents />
|
||||
<hideEmptyPackages />
|
||||
<abbreviatePackageNames />
|
||||
<autoscrollToSource />
|
||||
<autoscrollFromSource />
|
||||
<sortByType />
|
||||
<manualOrder />
|
||||
<foldersAlwaysOnTop value="true" />
|
||||
</navigator>
|
||||
<panes>
|
||||
<pane id="ProjectPane">
|
||||
<subPane>
|
||||
<PATH>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="etl" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="etl" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
</PATH>
|
||||
<PATH>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="etl" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="etl" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="src" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="test" />
|
||||
<option name="myItemType" value="org.jetbrains.plugins.gradle.projectView.GradleTreeStructureProvider$GradleSourceSetDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="kotlin" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
</PATH>
|
||||
<PATH>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="etl" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="etl" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="src" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="main" />
|
||||
<option name="myItemType" value="org.jetbrains.plugins.gradle.projectView.GradleTreeStructureProvider$GradleSourceSetDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
<PATH_ELEMENT>
|
||||
<option name="myItemId" value="kotlin" />
|
||||
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
||||
</PATH_ELEMENT>
|
||||
</PATH>
|
||||
</subPane>
|
||||
</pane>
|
||||
<pane id="Scope" />
|
||||
<pane id="Scratches" />
|
||||
<pane id="PackagesPane" />
|
||||
</panes>
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="WebServerToolWindowFactoryState" value="false" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$/../word-count" />
|
||||
</component>
|
||||
<component name="RunDashboard">
|
||||
<option name="ruleStates">
|
||||
<list>
|
||||
<RuleState>
|
||||
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
<RuleState>
|
||||
<option name="name" value="StatusDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="RunManager" selected="JUnit.ETLTest">
|
||||
<configuration default="false" name="ETLTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="etl_test" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="PACKAGE_NAME" value="" />
|
||||
<option name="MAIN_CLASS_NAME" value="ETLTest" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="TEST_OBJECT" value="class" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<envs />
|
||||
<patterns />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="false" name="ETLTest.transformOneValue" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="etl_test" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="PACKAGE_NAME" value="" />
|
||||
<option name="MAIN_CLASS_NAME" value="ETLTest" />
|
||||
<option name="METHOD_NAME" value="transformOneValue" />
|
||||
<option name="TEST_OBJECT" value="method" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<envs />
|
||||
<patterns />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="Applet" factoryName="Applet">
|
||||
<option name="HTML_USED" value="false" />
|
||||
<option name="WIDTH" value="400" />
|
||||
<option name="HEIGHT" value="300" />
|
||||
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
|
||||
<module />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="Application" factoryName="Application">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="ENABLE_SWING_INSPECTOR" value="false" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<module name="" />
|
||||
<envs />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="CucumberJavaRunConfigurationType" factoryName="Cucumber java">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<option name="myFilePath" />
|
||||
<option name="GLUE" />
|
||||
<option name="myNameFilter" />
|
||||
<option name="myGeneratedName" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="ENABLE_SWING_INSPECTOR" value="false" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<module name="" />
|
||||
<envs />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="GradleRunConfiguration" factoryName="Gradle">
|
||||
<ExternalSystemSettings>
|
||||
<option name="executionName" />
|
||||
<option name="externalProjectPath" />
|
||||
<option name="externalSystemIdString" value="GRADLE" />
|
||||
<option name="scriptParameters" />
|
||||
<option name="taskDescriptions">
|
||||
<list />
|
||||
</option>
|
||||
<option name="taskNames">
|
||||
<list />
|
||||
</option>
|
||||
<option name="vmOptions" />
|
||||
</ExternalSystemSettings>
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="JUnit" factoryName="JUnit">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="PACKAGE_NAME" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="TEST_OBJECT" value="class" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<envs />
|
||||
<patterns />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="JarApplication" factoryName="JAR Application">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<envs />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="Java Scratch" factoryName="Java Scratch">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<option name="SCRATCH_FILE_ID" value="0" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="ENABLE_SWING_INSPECTOR" value="false" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<module name="" />
|
||||
<envs />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="JetRunConfigurationType" factoryName="Kotlin">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
<option name="PROGRAM_PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<module name="etl" />
|
||||
<envs />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="KotlinStandaloneScriptRunConfigurationType" factoryName="Kotlin script">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<option name="filePath" />
|
||||
<option name="vmParameters" />
|
||||
<option name="alternativeJrePath" />
|
||||
<option name="programParameters" />
|
||||
<option name="passParentEnvs" value="true" />
|
||||
<option name="workingDirectory" />
|
||||
<option name="isAlternativeJrePathEnabled" value="false" />
|
||||
<envs />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="Remote" factoryName="Remote">
|
||||
<option name="USE_SOCKET_TRANSPORT" value="true" />
|
||||
<option name="SERVER_MODE" value="false" />
|
||||
<option name="SHMEM_ADDRESS" value="javadebug" />
|
||||
<option name="HOST" value="localhost" />
|
||||
<option name="PORT" value="5005" />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="ScalaTestRunConfiguration" factoryName="ScalaTest">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<setting name="path" value="" />
|
||||
<setting name="package" value="" />
|
||||
<setting name="vmparams" value="" />
|
||||
<setting name="params" value="" />
|
||||
<setting name="workingDirectory" value="" />
|
||||
<setting name="searchForTest" value="Across module dependencies" />
|
||||
<setting name="testName" value="" />
|
||||
<setting name="testKind" value="Class" />
|
||||
<setting name="showProgressMessages" value="true" />
|
||||
<setting name="useSbt" value="false" />
|
||||
<setting name="useUiWithSbt" value="false" />
|
||||
<classRegexps />
|
||||
<testRegexps />
|
||||
<envs />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="Specs2RunConfiguration" factoryName="Specs2">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<setting name="path" value="" />
|
||||
<setting name="package" value="" />
|
||||
<setting name="vmparams" value="" />
|
||||
<setting name="params" value="" />
|
||||
<setting name="workingDirectory" value="" />
|
||||
<setting name="searchForTest" value="Across module dependencies" />
|
||||
<setting name="testName" value="" />
|
||||
<setting name="testKind" value="Class" />
|
||||
<setting name="showProgressMessages" value="true" />
|
||||
<setting name="useSbt" value="false" />
|
||||
<setting name="useUiWithSbt" value="false" />
|
||||
<classRegexps />
|
||||
<testRegexps />
|
||||
<envs />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<envs />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="TestNG" factoryName="TestNG">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
|
||||
<option name="ALTERNATIVE_JRE_PATH" />
|
||||
<option name="SUITE_NAME" />
|
||||
<option name="PACKAGE_NAME" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="METHOD_NAME" />
|
||||
<option name="GROUP_NAME" />
|
||||
<option name="TEST_OBJECT" value="CLASS" />
|
||||
<option name="VM_PARAMETERS" value="-ea" />
|
||||
<option name="PARAMETERS" />
|
||||
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
|
||||
<option name="OUTPUT_DIRECTORY" />
|
||||
<option name="ANNOTATION_TYPE" />
|
||||
<option name="ENV_VARIABLES" />
|
||||
<option name="PASS_PARENT_ENVS" value="true" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="singleModule" />
|
||||
</option>
|
||||
<option name="USE_DEFAULT_REPORTERS" value="false" />
|
||||
<option name="PROPERTIES_FILE" />
|
||||
<envs />
|
||||
<properties />
|
||||
<listeners />
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="osgi.bnd.run" factoryName="Run Launcher">
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="osgi.bnd.run" factoryName="Test Launcher (JUnit)">
|
||||
<method />
|
||||
</configuration>
|
||||
<configuration default="true" type="uTestRunConfiguration" factoryName="utest">
|
||||
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
|
||||
<module name="" />
|
||||
<setting name="path" value="" />
|
||||
<setting name="package" value="" />
|
||||
<setting name="vmparams" value="" />
|
||||
<setting name="params" value="" />
|
||||
<setting name="workingDirectory" value="" />
|
||||
<setting name="searchForTest" value="Across module dependencies" />
|
||||
<setting name="testName" value="" />
|
||||
<setting name="testKind" value="Class" />
|
||||
<setting name="showProgressMessages" value="true" />
|
||||
<setting name="useSbt" value="false" />
|
||||
<setting name="useUiWithSbt" value="false" />
|
||||
<classRegexps />
|
||||
<testRegexps />
|
||||
<envs />
|
||||
<method />
|
||||
</configuration>
|
||||
<list size="2">
|
||||
<item index="0" class="java.lang.String" itemvalue="JUnit.ETLTest" />
|
||||
<item index="1" class="java.lang.String" itemvalue="JUnit.ETLTest.transformOneValue" />
|
||||
</list>
|
||||
<recent_temporary>
|
||||
<list size="2">
|
||||
<item index="0" class="java.lang.String" itemvalue="JUnit.ETLTest" />
|
||||
<item index="1" class="java.lang.String" itemvalue="JUnit.ETLTest.transformOneValue" />
|
||||
</list>
|
||||
</recent_temporary>
|
||||
<configuration name="<template>" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" default="true" selected="false">
|
||||
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
|
||||
</configuration>
|
||||
</component>
|
||||
<component name="SbtLocalSettings">
|
||||
<option name="lastUpdateTimestamp" value="1496439140048" />
|
||||
<option name="externalProjectsViewState">
|
||||
<projects_view />
|
||||
</option>
|
||||
</component>
|
||||
<component name="ShelveChangesManager" show_recycled="false">
|
||||
<option name="remove_strategy" value="false" />
|
||||
</component>
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="d25564a2-1c79-4b5c-a48f-404924bd4647" name="Default" comment="" />
|
||||
<created>1496439132230</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1496439132230</updated>
|
||||
<workItem from="1496439135548" duration="1274000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TestHistory">
|
||||
<history-entry file="ETLTest - 2017.06.02 at 17h 52m 06s.xml">
|
||||
<configuration name="ETLTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
<history-entry file="ETLTest - 2017.06.02 at 17h 52m 20s.xml">
|
||||
<configuration name="ETLTest" configurationId="JUnit" />
|
||||
</history-entry>
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="1274000" />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="-16" y="-16" width="3872" height="2092" extended-state="6" />
|
||||
<editor active="true" />
|
||||
<layout>
|
||||
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32990807" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="SBT" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Palette	" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32990807" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
||||
<window_info id="Gradle" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
||||
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
||||
</layout>
|
||||
</component>
|
||||
<component name="VcsContentAnnotationSettings">
|
||||
<option name="myLimit" value="2678400000" />
|
||||
</component>
|
||||
<component name="XDebuggerManager">
|
||||
<breakpoint-manager>
|
||||
<option name="time" value="1" />
|
||||
</breakpoint-manager>
|
||||
<watches-manager />
|
||||
</component>
|
||||
<component name="antWorkspaceConfiguration">
|
||||
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
|
||||
<option name="FILTER_TARGETS" value="false" />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/src/main/kotlin/ETL.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="344">
|
||||
<caret line="8" column="1" lean-forward="false" selection-start-line="8" selection-start-column="1" selection-end-line="8" selection-end-column="1" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/test/kotlin/ETLTest.kt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="817">
|
||||
<caret line="31" column="0" lean-forward="false" selection-start-line="31" selection-start-column="0" selection-end-line="31" selection-end-column="0" />
|
||||
<folding>
|
||||
<element signature="e#0#77#0" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
</project>
|
53
kotlin/etl/README.md
Normal file
53
kotlin/etl/README.md
Normal file
|
@ -0,0 +1,53 @@
|
|||
# Etl
|
||||
|
||||
We are going to do the `Transform` step of an Extract-Transform-Load.
|
||||
|
||||
### ETL
|
||||
Extract-Transform-Load (ETL) is a fancy way of saying, "We have some crufty, legacy data over in this system, and now we need it in this shiny new system over here, so
|
||||
we're going to migrate this."
|
||||
|
||||
(Typically, this is followed by, "We're only going to need to run this
|
||||
once." That's then typically followed by much forehead slapping and
|
||||
moaning about how stupid we could possibly be.)
|
||||
|
||||
### The goal
|
||||
We're going to extract some scrabble scores from a legacy system.
|
||||
|
||||
The old system stored a list of letters per score:
|
||||
|
||||
- 1 point: "A", "E", "I", "O", "U", "L", "N", "R", "S", "T",
|
||||
- 2 points: "D", "G",
|
||||
- 3 points: "B", "C", "M", "P",
|
||||
- 4 points: "F", "H", "V", "W", "Y",
|
||||
- 5 points: "K",
|
||||
- 8 points: "J", "X",
|
||||
- 10 points: "Q", "Z",
|
||||
|
||||
The shiny new scrabble system instead stores the score per letter, which
|
||||
makes it much faster and easier to calculate the score for a word. It
|
||||
also stores the letters in lower-case regardless of the case of the
|
||||
input letters:
|
||||
|
||||
- "a" is worth 1 point.
|
||||
- "b" is worth 3 points.
|
||||
- "c" is worth 3 points.
|
||||
- "d" is worth 2 points.
|
||||
- Etc.
|
||||
|
||||
Your mission, should you choose to accept it, is to transform the legacy data
|
||||
format to the shiny new format.
|
||||
|
||||
### Notes
|
||||
|
||||
A final note about scoring, Scrabble is played around the world in a
|
||||
variety of languages, each with its own unique scoring table. For
|
||||
example, an "E" is scored at 2 in the Māori-language version of the
|
||||
game while being scored at 4 in the Hawaiian-language version.
|
||||
|
||||
## Source
|
||||
|
||||
The Jumpstart Lab team [http://jumpstartlab.com](http://jumpstartlab.com)
|
||||
|
||||
## Submitting Incomplete Solutions
|
||||
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
||||
|
28
kotlin/etl/build.gradle
Normal file
28
kotlin/etl/build.gradle
Normal file
|
@ -0,0 +1,28 @@
|
|||
buildscript {
|
||||
ext.kotlin_version = '1.1.1'
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
||||
}
|
||||
test {
|
||||
testLogging {
|
||||
exceptionFormat = 'full'
|
||||
events = ["passed", "failed", "skipped"]
|
||||
}
|
||||
}
|
BIN
kotlin/etl/build/classes/main/ETL.class
Normal file
BIN
kotlin/etl/build/classes/main/ETL.class
Normal file
Binary file not shown.
BIN
kotlin/etl/build/classes/test/ETLTest.class
Normal file
BIN
kotlin/etl/build/classes/test/ETLTest.class
Normal file
Binary file not shown.
1
kotlin/etl/build/kotlin-build/caches/version.txt
Normal file
1
kotlin/etl/build/kotlin-build/caches/version.txt
Normal file
|
@ -0,0 +1 @@
|
|||
11001
|
12
kotlin/etl/etl.iml
Normal file
12
kotlin/etl/etl.iml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.id="etl" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
0
kotlin/etl/src/main/kotlin/.keep
Normal file
0
kotlin/etl/src/main/kotlin/.keep
Normal file
9
kotlin/etl/src/main/kotlin/ETL.kt
Normal file
9
kotlin/etl/src/main/kotlin/ETL.kt
Normal file
|
@ -0,0 +1,9 @@
|
|||
object ETL {
|
||||
fun transform(inpMap: Map<Int, List<Char>>) : Map<Char, Int> {
|
||||
var outMap: MutableMap<Char, Int> = emptyMap<Char, Int>().toMutableMap()
|
||||
for ((value, chars) in inpMap){
|
||||
chars.map { outMap.put(it.toLowerCase(), value)}
|
||||
}
|
||||
return outMap
|
||||
}
|
||||
}
|
54
kotlin/etl/src/test/kotlin/ETLTest.kt
Normal file
54
kotlin/etl/src/test/kotlin/ETLTest.kt
Normal file
|
@ -0,0 +1,54 @@
|
|||
import org.junit.Test
|
||||
import org.junit.Ignore
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
class ETLTest {
|
||||
|
||||
|
||||
@Test
|
||||
fun transformOneValue() {
|
||||
val old = mapOf(1 to listOf('a'))
|
||||
val expected = mapOf('a' to 1)
|
||||
|
||||
assertEquals(expected, ETL.transform(old))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun transformMoreValues() {
|
||||
val old = mapOf(1 to listOf('A', 'E', 'I'))
|
||||
val expected = mapOf('a' to 1, 'e' to 1, 'i' to 1)
|
||||
|
||||
assertEquals(expected, ETL.transform(old))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun moreKeys() {
|
||||
val old = mapOf(1 to listOf('A', 'E', 'I'), 2 to listOf('D', 'G'))
|
||||
val expected = mapOf('a' to 1, 'e' to 1, 'i' to 1, 'd' to 2, 'g' to 2)
|
||||
|
||||
assertEquals(expected, ETL.transform(old))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun fullDataset() {
|
||||
val old = mapOf(
|
||||
1 to listOf('A', 'E', 'I', 'O', 'U', 'L', 'N', 'R', 'S', 'T'),
|
||||
2 to listOf('D', 'G'),
|
||||
3 to listOf('B', 'C', 'M', 'P'),
|
||||
4 to listOf('F', 'H', 'V', 'W', 'Y'),
|
||||
5 to listOf('K'),
|
||||
8 to listOf('J', 'X'),
|
||||
10 to listOf('Q', 'Z')
|
||||
)
|
||||
val expected = mapOf(
|
||||
'a' to 1, 'b' to 3, 'c' to 3, 'd' to 2, 'e' to 1,
|
||||
'f' to 4, 'g' to 2, 'h' to 4, 'i' to 1, 'j' to 8,
|
||||
'k' to 5, 'l' to 1, 'm' to 3, 'n' to 1, 'o' to 1,
|
||||
'p' to 3, 'q' to 10, 'r' to 1, 's' to 1, 't' to 1,
|
||||
'u' to 1, 'v' to 4, 'w' to 4, 'x' to 8, 'y' to 4,
|
||||
'z' to 10
|
||||
)
|
||||
|
||||
assertEquals(expected, ETL.transform(old))
|
||||
}
|
||||
}
|
BIN
kotlin/gigasecond/.gradle/3.5/file-changes/last-build.bin
Normal file
BIN
kotlin/gigasecond/.gradle/3.5/file-changes/last-build.bin
Normal file
Binary file not shown.
BIN
kotlin/gigasecond/.gradle/3.5/fileContent/fileContent.lock
Normal file
BIN
kotlin/gigasecond/.gradle/3.5/fileContent/fileContent.lock
Normal file
Binary file not shown.
BIN
kotlin/gigasecond/.gradle/3.5/taskHistory/fileHashes.bin
Normal file
BIN
kotlin/gigasecond/.gradle/3.5/taskHistory/fileHashes.bin
Normal file
Binary file not shown.
BIN
kotlin/gigasecond/.gradle/3.5/taskHistory/fileSnapshots.bin
Normal file
BIN
kotlin/gigasecond/.gradle/3.5/taskHistory/fileSnapshots.bin
Normal file
Binary file not shown.
BIN
kotlin/gigasecond/.gradle/3.5/taskHistory/taskHistory.bin
Normal file
BIN
kotlin/gigasecond/.gradle/3.5/taskHistory/taskHistory.bin
Normal file
Binary file not shown.
BIN
kotlin/gigasecond/.gradle/3.5/taskHistory/taskHistory.lock
Normal file
BIN
kotlin/gigasecond/.gradle/3.5/taskHistory/taskHistory.lock
Normal file
Binary file not shown.
0
kotlin/gigasecond/.gradle/buildOutputCleanup/built.bin
Normal file
0
kotlin/gigasecond/.gradle/buildOutputCleanup/built.bin
Normal file
|
@ -0,0 +1,2 @@
|
|||
#Fri Jun 02 16:10:02 EDT 2017
|
||||
gradle.version=3.5
|
|
@ -0,0 +1 @@
|
|||
|
9
kotlin/gigasecond/.idea/compiler.xml
generated
Normal file
9
kotlin/gigasecond/.idea/compiler.xml
generated
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel>
|
||||
<module name="gigasecond_main" target="1.8" />
|
||||
<module name="gigasecond_test" target="1.8" />
|
||||
</bytecodeTargetLevel>
|
||||
</component>
|
||||
</project>
|
19
kotlin/gigasecond/.idea/gradle.xml
generated
Normal file
19
kotlin/gigasecond/.idea/gradle.xml
generated
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="distributionType" value="LOCAL" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleHome" value="C:/Gradle/gradle-3.5" />
|
||||
<option name="gradleJvm" value="1.8" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
</set>
|
||||
</option>
|
||||
<option name="useAutoImport" value="true" />
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
11
kotlin/gigasecond/.idea/libraries/Gradle__junit_junit_4_12.xml
generated
Normal file
11
kotlin/gigasecond/.idea/libraries/Gradle__junit_junit_4_12.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: junit:junit:4.12">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/a6c32b40bf3d76eca54e3c601e5d1470c86fcdfa/junit-4.12-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
11
kotlin/gigasecond/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
generated
Normal file
11
kotlin/gigasecond/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.hamcrest:hamcrest-core:1.3">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/42a25dc3219429f0e5d060061f71acb49bf010a0/hamcrest-core-1.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/1dc37250fbc78e23a65a67fbbaf71d2e9cbc3c0b/hamcrest-core-1.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
11
kotlin/gigasecond/.idea/libraries/Gradle__org_jetbrains_annotations_13_0.xml
generated
Normal file
11
kotlin/gigasecond/.idea/libraries/Gradle__org_jetbrains_annotations_13_0.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains:annotations:13.0">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/5991ca87ef1fb5544943d9abc5a9a37583fabe03/annotations-13.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
11
kotlin/gigasecond/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_1_1.xml
generated
Normal file
11
kotlin/gigasecond/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_1_1.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/98e484e67f913e934559f7f55f0c94be5593f03c/kotlin-stdlib-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.1.1/a287944d92875a1f3c2161e5cddaede7720913d1/kotlin-stdlib-1.1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
11
kotlin/gigasecond/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_1_1_1.xml
generated
Normal file
11
kotlin/gigasecond/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_1_1_1.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains.kotlin:kotlin-test:1.1.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test/1.1.1/5a852a554eb4f9fb93efdffa352b7983ed595e32/kotlin-test-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test/1.1.1/4b9a869f86569edea4a07d19b9749ac835fb7207/kotlin-test-1.1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
11
kotlin/gigasecond/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_junit_1_1_1.xml
generated
Normal file
11
kotlin/gigasecond/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_test_junit_1_1_1.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="libraryTable">
|
||||
<library name="Gradle: org.jetbrains.kotlin:kotlin-test-junit:1.1.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test-junit/1.1.1/a1865f59b6f72597452e5bdfefeb14d13bc31c7d/kotlin-test-junit-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test-junit/1.1.1/ed59de63c4565c708124caaa4e86562a780f9ba0/kotlin-test-junit-1.1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
6
kotlin/gigasecond/.idea/misc.xml
generated
Normal file
6
kotlin/gigasecond/.idea/misc.xml
generated
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/classes" />
|
||||
</component>
|
||||
</project>
|
10
kotlin/gigasecond/.idea/modules.xml
generated
Normal file
10
kotlin/gigasecond/.idea/modules.xml
generated
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/gigasecond.iml" filepath="$PROJECT_DIR$/gigasecond.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/gigasecond_main.iml" filepath="$PROJECT_DIR$/.idea/modules/gigasecond_main.iml" group="gigasecond" />
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/gigasecond_test.iml" filepath="$PROJECT_DIR$/.idea/modules/gigasecond_test.iml" group="gigasecond" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
40
kotlin/gigasecond/.idea/modules/gigasecond_main.iml
generated
Normal file
40
kotlin/gigasecond/.idea/modules/gigasecond_main.iml
generated
Normal file
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.id="gigasecond:main" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="kotlin-language" name="Kotlin">
|
||||
<configuration version="2" platform="JVM 1.6" useProjectSettings="false">
|
||||
<compilerSettings />
|
||||
<compilerArguments>
|
||||
<option name="noStdlib" value="true" />
|
||||
<option name="noReflect" value="true" />
|
||||
<option name="moduleName" value="gigasecond_main" />
|
||||
<option name="jvmTarget" value="1.6" />
|
||||
<option name="addCompilerBuiltIns" value="true" />
|
||||
<option name="loadBuiltInsFromDependencies" value="true" />
|
||||
<option name="languageVersion" value="1.1" />
|
||||
<option name="apiVersion" value="1.1" />
|
||||
<option name="pluginClasspaths">
|
||||
<array />
|
||||
</option>
|
||||
<option name="coroutinesWarn" value="true" />
|
||||
<option name="pluginOptions">
|
||||
<array />
|
||||
</option>
|
||||
</compilerArguments>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||
<output url="file://$MODULE_DIR$/../../build/classes/main" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$/../../src/main">
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/main/kotlin" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/main/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.1" level="project" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" />
|
||||
</component>
|
||||
</module>
|
46
kotlin/gigasecond/.idea/modules/gigasecond_test.iml
generated
Normal file
46
kotlin/gigasecond/.idea/modules/gigasecond_test.iml
generated
Normal file
|
@ -0,0 +1,46 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.id="gigasecond:test" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="kotlin-language" name="Kotlin">
|
||||
<configuration version="2" platform="JVM 1.6" useProjectSettings="false">
|
||||
<compilerSettings />
|
||||
<compilerArguments>
|
||||
<option name="noStdlib" value="true" />
|
||||
<option name="noReflect" value="true" />
|
||||
<option name="moduleName" value="gigasecond_main" />
|
||||
<option name="jvmTarget" value="1.6" />
|
||||
<option name="addCompilerBuiltIns" value="true" />
|
||||
<option name="loadBuiltInsFromDependencies" value="true" />
|
||||
<option name="languageVersion" value="1.1" />
|
||||
<option name="apiVersion" value="1.1" />
|
||||
<option name="pluginClasspaths">
|
||||
<array />
|
||||
</option>
|
||||
<option name="coroutinesWarn" value="true" />
|
||||
<option name="pluginOptions">
|
||||
<array />
|
||||
</option>
|
||||
</compilerArguments>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||
<output-test url="file://$MODULE_DIR$/../../build/classes/test" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$/../../src/test">
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/test/java" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/test/kotlin" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/../../src/test/resources" type="java-test-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="gigasecond_main" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.1.1" level="project" />
|
||||
<orderEntry type="library" name="Gradle: junit:junit:4.12" level="project" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-test-junit:1.1.1" level="project" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" />
|
||||
<orderEntry type="library" name="Gradle: org.hamcrest:hamcrest-core:1.3" level="project" />
|
||||
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-test:1.1.1" level="project" />
|
||||
</component>
|
||||
<component name="TestModuleProperties" production-module="gigasecond_main" />
|
||||
</module>
|
1004
kotlin/gigasecond/.idea/workspace.xml
generated
Normal file
1004
kotlin/gigasecond/.idea/workspace.xml
generated
Normal file
File diff suppressed because it is too large
Load diff
13
kotlin/gigasecond/README.md
Normal file
13
kotlin/gigasecond/README.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Gigasecond
|
||||
|
||||
Calculate the moment when someone has lived for 10^9 seconds.
|
||||
|
||||
A gigasecond is 10^9 (1,000,000,000) seconds.
|
||||
|
||||
## Source
|
||||
|
||||
Chapter 9 in Chris Pine's online Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=09](http://pine.fm/LearnToProgram/?Chapter=09)
|
||||
|
||||
## Submitting Incomplete Solutions
|
||||
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
||||
|
28
kotlin/gigasecond/build.gradle
Normal file
28
kotlin/gigasecond/build.gradle
Normal file
|
@ -0,0 +1,28 @@
|
|||
buildscript {
|
||||
ext.kotlin_version = '1.1.1'
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
||||
}
|
||||
test {
|
||||
testLogging {
|
||||
exceptionFormat = 'full'
|
||||
events = ["passed", "failed", "skipped"]
|
||||
}
|
||||
}
|
BIN
kotlin/gigasecond/build/classes/main/Gigasecond.class
Normal file
BIN
kotlin/gigasecond/build/classes/main/Gigasecond.class
Normal file
Binary file not shown.
BIN
kotlin/gigasecond/build/classes/test/GigasecondTest.class
Normal file
BIN
kotlin/gigasecond/build/classes/test/GigasecondTest.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
kotlin/gigasecond/build/kotlin-build/caches/version.txt
Normal file
1
kotlin/gigasecond/build/kotlin-build/caches/version.txt
Normal file
|
@ -0,0 +1 @@
|
|||
11001
|
Binary file not shown.
BIN
kotlin/gigasecond/build/kotlin-classes/main/Gigasecond.class
Normal file
BIN
kotlin/gigasecond/build/kotlin-classes/main/Gigasecond.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,2 @@
|
|||
3
|
||||
2
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue