Skip to content

Commit da4fc0f

Browse files
author
Tobias Scholze
committed
Set version to 1.0.9
1 parent 2a3f39d commit da4fc0f

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ Besides this, I wanted to streamline my content creation workflows by letting th
2727
Clone the [kotlog-template repository](https://github.com/tscholze/kotlin-kotlog-template) first, then you are ready to run the CLI.
2828

2929
```
30-
./kotlog [options]
30+
java -jar kotlog.jar [options]
3131
-c 'My awesome title' : Creates a new blog post
3232
-y 'beYqB6QXQuY' : Creates a YouTube post
3333
-g : Generates HTML output
3434
-p : Publish aka pushes changes to remote
3535
-co : Clears the output
36-
-cc : To create a new configuration file
3736
```
3837

3938
If the binary is not working, use `java -jar kotlog.jar [options]` as a fallback.
@@ -59,7 +58,7 @@ fun main(args: Array<String>) {
5958
```
6059

6160
### Using configuration file
62-
Otherwise, Kotlog will try to load the configuration file (`~/.kotlog`) from the file system. Run `./kotlog -cc` to create a new file.
61+
Otherwise, Kotlog will try to load the configuration file (`~/.kotlog`) from the file system. Run `./kotlog` to create a new skeleton configuration file.
6362

6463
```json
6564
{

build.gradle.kts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
33
// MARK: - Properties -
44

55
group = "io.github.tscholze"
6-
version = "1.0.8"
6+
version = "1.0.9"
77

88
// MARK: - Plugins -
99

@@ -45,20 +45,20 @@ dependencies {
4545

4646
// MARK: - Application settings -
4747

48-
application {
49-
mainClass.set("MainKt")
50-
}
48+
//application {
49+
// mainClass.set("MainKt")
50+
//}
5151

5252
// MARK: - Gradle tasks -
5353

5454
tasks.jar {
55-
manifest {
56-
attributes["Main-Class"] = "MainKt"
57-
}
58-
configurations["compileClasspath"].forEach { file: File ->
59-
from(zipTree(file.absoluteFile))
60-
}
61-
duplicatesStrategy = DuplicatesStrategy.INCLUDE
55+
manifest.attributes["Main-Class"] = "MainKt"
56+
val dependencies = configurations
57+
.runtimeClasspath
58+
.get()
59+
.map(::zipTree)
60+
from(dependencies)
61+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
6262
}
6363

6464
tasks.test {

0 commit comments

Comments
 (0)