diff --git a/.idea/libraries/Gradle__com_github_ajalt_clikt_2_6_0.xml b/.idea/libraries/Gradle__com_github_ajalt_clikt_2_6_0.xml
deleted file mode 100644
index 4f2d3dc..0000000
--- a/.idea/libraries/Gradle__com_github_ajalt_clikt_2_6_0.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_github_kotlin_graphics_gli_290b4a7f.xml b/.idea/libraries/Gradle__com_github_kotlin_graphics_gli_290b4a7f.xml
deleted file mode 100644
index b1ed169..0000000
--- a/.idea/libraries/Gradle__com_github_kotlin_graphics_gli_290b4a7f.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_github_kotlin_graphics_glm_5b0f3461.xml b/.idea/libraries/Gradle__com_github_kotlin_graphics_glm_5b0f3461.xml
deleted file mode 100644
index 47cfc8f..0000000
--- a/.idea/libraries/Gradle__com_github_kotlin_graphics_glm_5b0f3461.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_github_kotlin_graphics_kool_3962a0be.xml b/.idea/libraries/Gradle__com_github_kotlin_graphics_kool_3962a0be.xml
deleted file mode 100644
index 09c9be0..0000000
--- a/.idea/libraries/Gradle__com_github_kotlin_graphics_kool_3962a0be.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_github_kotlin_graphics_kotlin_unsigned_0af6fae4.xml b/.idea/libraries/Gradle__com_github_kotlin_graphics_kotlin_unsigned_0af6fae4.xml
deleted file mode 100644
index de54231..0000000
--- a/.idea/libraries/Gradle__com_github_kotlin_graphics_kotlin_unsigned_0af6fae4.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__io_github_classgraph_classgraph_4_8_67.xml b/.idea/libraries/Gradle__io_github_classgraph_classgraph_4_8_67.xml
deleted file mode 100644
index 001d45c..0000000
--- a/.idea/libraries/Gradle__io_github_classgraph_classgraph_4_8_67.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__io_kotest_kotest_assertions_core_jvm_4_0_5.xml b/.idea/libraries/Gradle__io_kotest_kotest_assertions_core_jvm_4_0_5.xml
deleted file mode 100644
index d8e9e5f..0000000
--- a/.idea/libraries/Gradle__io_kotest_kotest_assertions_core_jvm_4_0_5.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__io_kotest_kotest_assertions_jvm_4_0_5.xml b/.idea/libraries/Gradle__io_kotest_kotest_assertions_jvm_4_0_5.xml
deleted file mode 100644
index bc49ee5..0000000
--- a/.idea/libraries/Gradle__io_kotest_kotest_assertions_jvm_4_0_5.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__io_kotest_kotest_core_jvm_4_0_5.xml b/.idea/libraries/Gradle__io_kotest_kotest_core_jvm_4_0_5.xml
deleted file mode 100644
index bcbae95..0000000
--- a/.idea/libraries/Gradle__io_kotest_kotest_core_jvm_4_0_5.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__io_kotest_kotest_extensions_jvm_4_0_5.xml b/.idea/libraries/Gradle__io_kotest_kotest_extensions_jvm_4_0_5.xml
deleted file mode 100644
index a405030..0000000
--- a/.idea/libraries/Gradle__io_kotest_kotest_extensions_jvm_4_0_5.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__io_kotest_kotest_fp_jvm_4_0_5.xml b/.idea/libraries/Gradle__io_kotest_kotest_fp_jvm_4_0_5.xml
deleted file mode 100644
index f165f5d..0000000
--- a/.idea/libraries/Gradle__io_kotest_kotest_fp_jvm_4_0_5.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__io_kotest_kotest_mpp_jvm_4_0_5.xml b/.idea/libraries/Gradle__io_kotest_kotest_mpp_jvm_4_0_5.xml
deleted file mode 100644
index 054f319..0000000
--- a/.idea/libraries/Gradle__io_kotest_kotest_mpp_jvm_4_0_5.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__io_kotest_kotest_runner_console_jvm_4_0_5.xml b/.idea/libraries/Gradle__io_kotest_kotest_runner_console_jvm_4_0_5.xml
deleted file mode 100644
index 59f0ee4..0000000
--- a/.idea/libraries/Gradle__io_kotest_kotest_runner_console_jvm_4_0_5.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__io_kotest_kotest_runner_junit5_jvm_4_0_5.xml b/.idea/libraries/Gradle__io_kotest_kotest_runner_junit5_jvm_4_0_5.xml
deleted file mode 100644
index 89d110a..0000000
--- a/.idea/libraries/Gradle__io_kotest_kotest_runner_junit5_jvm_4_0_5.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_modular_1_3_72.xml b/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_modular_1_3_72.xml
deleted file mode 100644
index cb1f450..0000000
--- a/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_modular_1_3_72.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_jetbrains_kotlinx_kotlinx_coroutines_core_common_1_3_5.xml b/.idea/libraries/Gradle__org_jetbrains_kotlinx_kotlinx_coroutines_core_common_1_3_5.xml
deleted file mode 100644
index abee410..0000000
--- a/.idea/libraries/Gradle__org_jetbrains_kotlinx_kotlinx_coroutines_core_common_1_3_5.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_jetbrains_kotlinx_kotlinx_coroutines_jdk8_1_3_5.xml b/.idea/libraries/Gradle__org_jetbrains_kotlinx_kotlinx_coroutines_jdk8_1_3_5.xml
deleted file mode 100644
index 034c00b..0000000
--- a/.idea/libraries/Gradle__org_jetbrains_kotlinx_kotlinx_coroutines_jdk8_1_3_5.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_api_5_6_1.xml b/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_api_5_6_1.xml
deleted file mode 100644
index 7e4bf18..0000000
--- a/.idea/libraries/Gradle__org_junit_jupiter_junit_jupiter_api_5_6_1.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/build.gradle.kts b/build.gradle.kts
index 66af349..bebc899 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -118,6 +118,27 @@ val sourceJar = task("sourceJar", Jar::class) {
from(sourceSets.main.get().allSource)
}
+artifacts {
+ archives(dokkaJavadocJar)
+ archives(dokkaHtmlJar)
+ archives(sourceJar)
+}
+
+publishing {
+ publications.create("mavenJava") {
+ from(components["java"])
+ artifact(sourceJar)
+ }
+ repositories.maven {
+ name = "GitHubPackages"
+ url = uri("https://maven.pkg.github.com/kotlin-graphics/gli")
+ credentials {
+ username = System.getenv("GITHUB_ACTOR")
+ password = System.getenv("GITHUB_TOKEN")
+ }
+ }
+}
+
// == Add access to the 'modular' variant of kotlin("stdlib"): Put this into a buildSrc plugin and reuse it in all your subprojects
configurations.all {
attributes.attribute(TARGET_JVM_VERSION_ATTRIBUTE, 11)