diff --git a/.gitignore b/.gitignore
index 73902c399..3ca9aa9e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,29 @@
+# output dir
+target
+
+# KDE
.directory
+
+# Eclipse
.project
.settings
.classpath
.factorypath
.checkstyle
.cache-main
-target
-.idea/libraries/Maven__*
+
+# IntelliJ IDEA
+*.iml
+!/all-deps/all-deps.iml
+!/tools/idea/**/*.iml
.idea/uiDesigner.xml
.idea/workspace.xml
-.idea/dictionaries/
\ No newline at end of file
+.idea/dictionaries/
+.idea/compiler.xml
+.idea/encodings.xml
+.idea/misc.xml
+.idea/modules.xml
+.idea/scala_compiler.xml
+.idea/vcs.xml
+.idea/libraries/*
+.idea/artifacts/*
diff --git a/.idea/artifacts/teavm_samples_async_war.xml b/.idea/artifacts/teavm_samples_async_war.xml
deleted file mode 100644
index 1e6b4d67d..000000000
--- a/.idea/artifacts/teavm_samples_async_war.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- $PROJECT_DIR$/samples/async/target
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_async_war_exploded.xml b/.idea/artifacts/teavm_samples_async_war_exploded.xml
deleted file mode 100644
index c890b50c2..000000000
--- a/.idea/artifacts/teavm_samples_async_war_exploded.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- $PROJECT_DIR$/samples/async/target/teavm-samples-async-1.0.0-SNAPSHOT
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_benchmark_war.xml b/.idea/artifacts/teavm_samples_benchmark_war.xml
deleted file mode 100644
index 481a615ac..000000000
--- a/.idea/artifacts/teavm_samples_benchmark_war.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- $PROJECT_DIR$/samples/benchmark/target
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_benchmark_war_exploded.xml b/.idea/artifacts/teavm_samples_benchmark_war_exploded.xml
deleted file mode 100644
index 7f2cc8e9d..000000000
--- a/.idea/artifacts/teavm_samples_benchmark_war_exploded.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
- $PROJECT_DIR$/samples/benchmark/target/teavm-samples-benchmark-1.0.0-SNAPSHOT
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_hello_war.xml b/.idea/artifacts/teavm_samples_hello_war.xml
deleted file mode 100644
index 659d04392..000000000
--- a/.idea/artifacts/teavm_samples_hello_war.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- $PROJECT_DIR$/samples/hello/target
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_hello_war_exploded.xml b/.idea/artifacts/teavm_samples_hello_war_exploded.xml
deleted file mode 100644
index 31fd821aa..000000000
--- a/.idea/artifacts/teavm_samples_hello_war_exploded.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- $PROJECT_DIR$/samples/hello/target/teavm-samples-hello-1.0.0-SNAPSHOT
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_kotlin_war.xml b/.idea/artifacts/teavm_samples_kotlin_war.xml
deleted file mode 100644
index 7dc8d39c0..000000000
--- a/.idea/artifacts/teavm_samples_kotlin_war.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- $PROJECT_DIR$/samples/kotlin/target
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_kotlin_war_exploded.xml b/.idea/artifacts/teavm_samples_kotlin_war_exploded.xml
deleted file mode 100644
index 8f037cf51..000000000
--- a/.idea/artifacts/teavm_samples_kotlin_war_exploded.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- $PROJECT_DIR$/samples/kotlin/target/teavm-samples-kotlin-1.0.0-SNAPSHOT
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_scala_war.xml b/.idea/artifacts/teavm_samples_scala_war.xml
deleted file mode 100644
index 35b7c64f1..000000000
--- a/.idea/artifacts/teavm_samples_scala_war.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- $PROJECT_DIR$/samples/scala/target
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_scala_war_exploded.xml b/.idea/artifacts/teavm_samples_scala_war_exploded.xml
deleted file mode 100644
index dc64f7dca..000000000
--- a/.idea/artifacts/teavm_samples_scala_war_exploded.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
- $PROJECT_DIR$/samples/scala/target/teavm-samples-scala-1.0.0-SNAPSHOT
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_storage_war.xml b/.idea/artifacts/teavm_samples_storage_war.xml
deleted file mode 100644
index 2245661be..000000000
--- a/.idea/artifacts/teavm_samples_storage_war.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- $PROJECT_DIR$/samples/storage/target
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_storage_war_exploded.xml b/.idea/artifacts/teavm_samples_storage_war_exploded.xml
deleted file mode 100644
index 6dd585c7c..000000000
--- a/.idea/artifacts/teavm_samples_storage_war_exploded.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- $PROJECT_DIR$/samples/storage/target/teavm-samples-storage-1.0.0-SNAPSHOT
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_video_war.xml b/.idea/artifacts/teavm_samples_video_war.xml
deleted file mode 100644
index c255576a3..000000000
--- a/.idea/artifacts/teavm_samples_video_war.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- $PROJECT_DIR$/samples/video/target
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/teavm_samples_video_war_exploded.xml b/.idea/artifacts/teavm_samples_video_war_exploded.xml
deleted file mode 100644
index 7d9528f27..000000000
--- a/.idea/artifacts/teavm_samples_video_war_exploded.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- $PROJECT_DIR$/samples/video/target/teavm-samples-video-1.0.0-SNAPSHOT
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
deleted file mode 100644
index b9d673c09..000000000
--- a/.idea/compiler.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
deleted file mode 100644
index ee5124b04..000000000
--- a/.idea/encodings.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
deleted file mode 100644
index 3d70b8326..000000000
--- a/.idea/misc.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
deleted file mode 100644
index a991acf7d..000000000
--- a/.idea/modules.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/scala_compiler.xml b/.idea/scala_compiler.xml
deleted file mode 100644
index c78926c8c..000000000
--- a/.idea/scala_compiler.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index 94a25f7f4..000000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/classlib/teavm-classlib.iml b/classlib/teavm-classlib.iml
deleted file mode 100644
index 18bfc21dc..000000000
--- a/classlib/teavm-classlib.iml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/core/pom.xml b/core/pom.xml
index d1ff22f4e..c238f589e 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -29,10 +29,6 @@
TeaVM core
TeaVM compiler and SPI
-
- 1.0.3
-
-
junit
@@ -92,20 +88,6 @@
-
- org.jetbrains.kotlin
- kotlin-maven-plugin
- ${kotlin.version}
-
-
- compile
- process-sources
-
- compile
-
-
-
-
diff --git a/core/teavm-core.iml b/core/teavm-core.iml
deleted file mode 100644
index eff03ae6b..000000000
--- a/core/teavm-core.iml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/extras-slf4j/teavm-extras-slf4j.iml b/extras-slf4j/teavm-extras-slf4j.iml
deleted file mode 100644
index 3adb918ae..000000000
--- a/extras-slf4j/teavm-extras-slf4j.iml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/html4j/teavm-html4j.iml b/html4j/teavm-html4j.iml
deleted file mode 100644
index f17b3c4e5..000000000
--- a/html4j/teavm-html4j.iml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/interop/core/teavm-interop.iml b/interop/core/teavm-interop.iml
deleted file mode 100644
index dae5c19b8..000000000
--- a/interop/core/teavm-interop.iml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jso/apis/teavm-jso-apis.iml b/jso/apis/teavm-jso-apis.iml
deleted file mode 100644
index 4df6df57c..000000000
--- a/jso/apis/teavm-jso-apis.iml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jso/core/teavm-jso.iml b/jso/core/teavm-jso.iml
deleted file mode 100644
index c68f06c77..000000000
--- a/jso/core/teavm-jso.iml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/jso/impl/teavm-jso-impl.iml b/jso/impl/teavm-jso-impl.iml
deleted file mode 100644
index b1585f2b4..000000000
--- a/jso/impl/teavm-jso-impl.iml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/metaprogramming/api/teavm-metaprogramming-api.iml b/metaprogramming/api/teavm-metaprogramming-api.iml
deleted file mode 100644
index 146ecceee..000000000
--- a/metaprogramming/api/teavm-metaprogramming-api.iml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/metaprogramming/impl/teavm-metaprogramming-impl.iml b/metaprogramming/impl/teavm-metaprogramming-impl.iml
deleted file mode 100644
index 217dceac6..000000000
--- a/metaprogramming/impl/teavm-metaprogramming-impl.iml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/platform/teavm-platform.iml b/platform/teavm-platform.iml
deleted file mode 100644
index a1b7c7553..000000000
--- a/platform/teavm-platform.iml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/async/teavm-samples-async.iml b/samples/async/teavm-samples-async.iml
deleted file mode 100644
index 17a2512d0..000000000
--- a/samples/async/teavm-samples-async.iml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/benchmark/teavm-samples-benchmark.iml b/samples/benchmark/teavm-samples-benchmark.iml
deleted file mode 100644
index 5d8ce2346..000000000
--- a/samples/benchmark/teavm-samples-benchmark.iml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/hello/teavm-samples-hello.iml b/samples/hello/teavm-samples-hello.iml
deleted file mode 100644
index 1c5f8a8cf..000000000
--- a/samples/hello/teavm-samples-hello.iml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/kotlin/teavm-samples-kotlin.iml b/samples/kotlin/teavm-samples-kotlin.iml
deleted file mode 100644
index 61b1bca01..000000000
--- a/samples/kotlin/teavm-samples-kotlin.iml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/scala/teavm-samples-scala.iml b/samples/scala/teavm-samples-scala.iml
deleted file mode 100644
index 8dbd24070..000000000
--- a/samples/scala/teavm-samples-scala.iml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/storage/teavm-samples-storage.iml b/samples/storage/teavm-samples-storage.iml
deleted file mode 100644
index 2b60c620e..000000000
--- a/samples/storage/teavm-samples-storage.iml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/teavm-samples.iml b/samples/teavm-samples.iml
deleted file mode 100644
index 66b3d797e..000000000
--- a/samples/teavm-samples.iml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/video/teavm-samples-video.iml b/samples/video/teavm-samples-video.iml
deleted file mode 100644
index 2b60c620e..000000000
--- a/samples/video/teavm-samples-video.iml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/teavm.iml b/teavm.iml
deleted file mode 100644
index 66b3d797e..000000000
--- a/teavm.iml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/teavm-tests.iml b/tests/teavm-tests.iml
deleted file mode 100644
index c10937c99..000000000
--- a/tests/teavm-tests.iml
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tools/chrome-rdp/teavm-chrome-rdp.iml b/tools/chrome-rdp/teavm-chrome-rdp.iml
deleted file mode 100644
index b9968738e..000000000
--- a/tools/chrome-rdp/teavm-chrome-rdp.iml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tools/cli/teavm-cli.iml b/tools/cli/teavm-cli.iml
deleted file mode 100644
index 65dc9d565..000000000
--- a/tools/cli/teavm-cli.iml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tools/core/teavm-tooling.iml b/tools/core/teavm-tooling.iml
deleted file mode 100644
index 5ecfa1dbf..000000000
--- a/tools/core/teavm-tooling.iml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tools/idea/jps-common/teavm-jps-common.iml b/tools/idea/jps-common/teavm-jps-common.iml
index 777635ac4..2c4d04d31 100644
--- a/tools/idea/jps-common/teavm-jps-common.iml
+++ b/tools/idea/jps-common/teavm-jps-common.iml
@@ -1,6 +1,8 @@
-
+
+
+
diff --git a/tools/junit/teavm-junit.iml b/tools/junit/teavm-junit.iml
deleted file mode 100644
index 4af276c5a..000000000
--- a/tools/junit/teavm-junit.iml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tools/maven/plugin/teavm-maven-plugin.iml b/tools/maven/plugin/teavm-maven-plugin.iml
deleted file mode 100644
index c2727ff8e..000000000
--- a/tools/maven/plugin/teavm-maven-plugin.iml
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tools/maven/teavm-maven.iml b/tools/maven/teavm-maven.iml
deleted file mode 100644
index 66b3d797e..000000000
--- a/tools/maven/teavm-maven.iml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tools/maven/webapp/teavm-maven-webapp.iml b/tools/maven/webapp/teavm-maven-webapp.iml
deleted file mode 100644
index 0fa2e18ed..000000000
--- a/tools/maven/webapp/teavm-maven-webapp.iml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file