Fixed directory name typo.
This commit is contained in:
parent
e3dc6af9b1
commit
aed7e8434f
21 changed files with 35 additions and 33 deletions
2
.idea/compiler.xml
generated
2
.idea/compiler.xml
generated
|
@ -10,6 +10,8 @@
|
||||||
<module name="samples-java_test" target="1.8" />
|
<module name="samples-java_test" target="1.8" />
|
||||||
<module name="samples-koltin_main" target="1.8" />
|
<module name="samples-koltin_main" target="1.8" />
|
||||||
<module name="samples-koltin_test" target="1.8" />
|
<module name="samples-koltin_test" target="1.8" />
|
||||||
|
<module name="samples-kotlin_main" target="1.8" />
|
||||||
|
<module name="samples-kotlin_test" target="1.8" />
|
||||||
</bytecodeTargetLevel>
|
</bytecodeTargetLevel>
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
6
.idea/modules.xml
generated
6
.idea/modules.xml
generated
|
@ -9,10 +9,10 @@
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-java.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-java.iml" />
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-java.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-java.iml" />
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-java_main.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-java_main.iml" group="samples-java" />
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-java_main.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-java_main.iml" group="samples-java" />
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-java_test.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-java_test.iml" group="samples-java" />
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-java_test.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-java_test.iml" group="samples-java" />
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-koltin.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-koltin.iml" />
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-koltin_main.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-koltin_main.iml" group="samples-koltin" />
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-koltin_test.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-koltin_test.iml" group="samples-koltin" />
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-kotlin.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-kotlin.iml" />
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-kotlin.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-kotlin.iml" />
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-kotlin_main.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-kotlin_main.iml" group="samples-kotlin" />
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-kotlin_test.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-kotlin_test.iml" group="samples-kotlin" />
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/samples-kotlin~1.iml" filepath="$PROJECT_DIR$/.idea/modules/samples-kotlin~1.iml" />
|
||||||
</modules>
|
</modules>
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
13
.idea/modules/samples-koltin.iml
generated
13
.idea/modules/samples-koltin.iml
generated
|
@ -1,13 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module external.linked.project.id="samples-koltin" external.linked.project.path="$MODULE_DIR$/../../samples/koltin" external.root.project.path="$MODULE_DIR$/../../samples/koltin" 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$/../../samples/koltin">
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/../../samples/koltin/.gradle" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/../../samples/koltin/build" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/../../samples/koltin/out" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
|
@ -1,14 +1,14 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module external.linked.project.id="samples-koltin:main" external.linked.project.path="$MODULE_DIR$/../../samples/koltin" external.root.project.path="$MODULE_DIR$/../../samples/koltin" external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
<module external.linked.project.id="samples-kotlin:main" external.linked.project.path="$MODULE_DIR$/../../samples/kotlin" external.root.project.path="$MODULE_DIR$/../../samples/kotlin" 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">
|
<component name="FacetManager">
|
||||||
<facet type="kotlin-language" name="Kotlin">
|
<facet type="kotlin-language" name="Kotlin">
|
||||||
<configuration version="3" platform="JVM 1.6" useProjectSettings="false">
|
<configuration version="3" platform="JVM 1.6" useProjectSettings="false">
|
||||||
<compilerSettings />
|
<compilerSettings />
|
||||||
<compilerArguments>
|
<compilerArguments>
|
||||||
<option name="destination" value="$MODULE_DIR$/../../samples/koltin/build/classes/kotlin/main" />
|
<option name="destination" value="$MODULE_DIR$/../../samples/kotlin/build/classes/kotlin/main" />
|
||||||
<option name="noStdlib" value="true" />
|
<option name="noStdlib" value="true" />
|
||||||
<option name="noReflect" value="true" />
|
<option name="noReflect" value="true" />
|
||||||
<option name="moduleName" value="samples-koltin" />
|
<option name="moduleName" value="samples-kotlin" />
|
||||||
<option name="addCompilerBuiltIns" value="true" />
|
<option name="addCompilerBuiltIns" value="true" />
|
||||||
<option name="loadBuiltInsFromDependencies" value="true" />
|
<option name="loadBuiltInsFromDependencies" value="true" />
|
||||||
<option name="languageVersion" value="1.2" />
|
<option name="languageVersion" value="1.2" />
|
||||||
|
@ -24,10 +24,10 @@
|
||||||
</facet>
|
</facet>
|
||||||
</component>
|
</component>
|
||||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||||
<output url="file://$MODULE_DIR$/../../samples/koltin/out/production/classes" />
|
<output url="file://$MODULE_DIR$/../../samples/kotlin/out/production/classes" />
|
||||||
<exclude-output />
|
<exclude-output />
|
||||||
<content url="file://$MODULE_DIR$/../../samples/koltin/src/main">
|
<content url="file://$MODULE_DIR$/../../samples/kotlin/src/main">
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../samples/koltin/src/main/kotlin" isTestSource="false" />
|
<sourceFolder url="file://$MODULE_DIR$/../../samples/kotlin/src/main/kotlin" isTestSource="false" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
@ -1,14 +1,14 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module external.linked.project.id="samples-koltin:test" external.linked.project.path="$MODULE_DIR$/../../samples/koltin" external.root.project.path="$MODULE_DIR$/../../samples/koltin" external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
<module external.linked.project.id="samples-kotlin:test" external.linked.project.path="$MODULE_DIR$/../../samples/kotlin" external.root.project.path="$MODULE_DIR$/../../samples/kotlin" 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">
|
<component name="FacetManager">
|
||||||
<facet type="kotlin-language" name="Kotlin">
|
<facet type="kotlin-language" name="Kotlin">
|
||||||
<configuration version="3" platform="JVM 1.6" useProjectSettings="false">
|
<configuration version="3" platform="JVM 1.6" useProjectSettings="false">
|
||||||
<compilerSettings />
|
<compilerSettings />
|
||||||
<compilerArguments>
|
<compilerArguments>
|
||||||
<option name="destination" value="$MODULE_DIR$/../../samples/koltin/build/classes/kotlin/test" />
|
<option name="destination" value="$MODULE_DIR$/../../samples/kotlin/build/classes/kotlin/test" />
|
||||||
<option name="noStdlib" value="true" />
|
<option name="noStdlib" value="true" />
|
||||||
<option name="noReflect" value="true" />
|
<option name="noReflect" value="true" />
|
||||||
<option name="moduleName" value="samples-koltin" />
|
<option name="moduleName" value="samples-kotlin" />
|
||||||
<option name="addCompilerBuiltIns" value="true" />
|
<option name="addCompilerBuiltIns" value="true" />
|
||||||
<option name="loadBuiltInsFromDependencies" value="true" />
|
<option name="loadBuiltInsFromDependencies" value="true" />
|
||||||
<option name="languageVersion" value="1.2" />
|
<option name="languageVersion" value="1.2" />
|
||||||
|
@ -24,12 +24,12 @@
|
||||||
</facet>
|
</facet>
|
||||||
</component>
|
</component>
|
||||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||||
<output-test url="file://$MODULE_DIR$/../../samples/koltin/out/test/classes" />
|
<output-test url="file://$MODULE_DIR$/../../samples/kotlin/out/test/classes" />
|
||||||
<exclude-output />
|
<exclude-output />
|
||||||
<content url="file://$MODULE_DIR$/../../samples/koltin/src/test" />
|
<content url="file://$MODULE_DIR$/../../samples/kotlin/src/test" />
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
<orderEntry type="module" module-name="samples-koltin_main" />
|
<orderEntry type="module" module-name="samples-kotlin_main" />
|
||||||
<orderEntry type="library" name="Gradle: net.thauvin.erik:pinboard-poster:1.0.0" level="project" />
|
<orderEntry type="library" name="Gradle: net.thauvin.erik:pinboard-poster:1.0.0" level="project" />
|
||||||
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.2.50" level="project" />
|
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.2.50" level="project" />
|
||||||
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.10.0" level="project" />
|
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.10.0" level="project" />
|
||||||
|
@ -37,5 +37,5 @@
|
||||||
<orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" />
|
<orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0" level="project" />
|
||||||
<orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.14.0" level="project" />
|
<orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.14.0" level="project" />
|
||||||
</component>
|
</component>
|
||||||
<component name="TestModuleProperties" production-module="samples-koltin_main" />
|
<component name="TestModuleProperties" production-module="samples-kotlin_main" />
|
||||||
</module>
|
</module>
|
13
.idea/modules/samples-kotlin~1.iml
generated
Normal file
13
.idea/modules/samples-kotlin~1.iml
generated
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module external.linked.project.id="samples-kotlin" external.linked.project.path="$MODULE_DIR$/../../samples/kotlin" external.root.project.path="$MODULE_DIR$/../../samples/kotlin" 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$/../../samples/kotlin">
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/../../samples/kotlin/.gradle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/../../samples/kotlin/build" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/../../samples/kotlin/out" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
|
@ -17,7 +17,7 @@ poster.addPin("http://www.example.com/foo", "This is a test")
|
||||||
poster.deletePin("http:///www.example.com/bar")
|
poster.deletePin("http:///www.example.com/bar")
|
||||||
|
|
||||||
```
|
```
|
||||||
[View Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/koltin/src/main/kotlin/net/thauvin/erik/pinboard/samples/KotlinExample.kt)
|
[View Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/kotlin/src/main/kotlin/net/thauvin/erik/pinboard/samples/KotlinExample.kt)
|
||||||
|
|
||||||
### Java
|
### Java
|
||||||
```java
|
```java
|
||||||
|
@ -55,7 +55,7 @@ dependencies {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
[View Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/java/build.gradle)
|
[View Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/java/build.gradle)
|
||||||
[View Kotlin DSL Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/koltin/build.gradle.kts)
|
[View Kotlin DSL Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/kotlin/build.gradle.kts)
|
||||||
|
|
||||||
### Kobalt
|
### Kobalt
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ dependencies {
|
||||||
compile("net.thauvin.erik:pinboard-poster:1.0.0")
|
compile("net.thauvin.erik:pinboard-poster:1.0.0")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
[View Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/koltin/kobalt/src/Build.kt)
|
[View Example](https://github.com/ethauvin/pinboard-poster/blob/master/samples/kotlin/kobalt/src/Build.kt)
|
||||||
|
|
||||||
## Adding
|
## Adding
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
rootProject.name = 'samples-koltin'
|
|
1
samples/kotlin/settings.gradle.kts
Normal file
1
samples/kotlin/settings.gradle.kts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
rootProject.name = "samples-kotlin"
|
Loading…
Add table
Add a link
Reference in a new issue