Skip to content

Commit

Permalink
Set version to 1.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Scholze committed Jun 19, 2023
1 parent 2a3f39d commit da4fc0f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ Besides this, I wanted to streamline my content creation workflows by letting th
Clone the [kotlog-template repository](https://github.com/tscholze/kotlin-kotlog-template) first, then you are ready to run the CLI.

```
./kotlog [options]
java -jar kotlog.jar [options]
-c 'My awesome title' : Creates a new blog post
-y 'beYqB6QXQuY' : Creates a YouTube post
-g : Generates HTML output
-p : Publish aka pushes changes to remote
-co : Clears the output
-cc : To create a new configuration file
```

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

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

```json
{
Expand Down
22 changes: 11 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
// MARK: - Properties -

group = "io.github.tscholze"
version = "1.0.8"
version = "1.0.9"

// MARK: - Plugins -

Expand Down Expand Up @@ -45,20 +45,20 @@ dependencies {

// MARK: - Application settings -

application {
mainClass.set("MainKt")
}
//application {
// mainClass.set("MainKt")
//}

// MARK: - Gradle tasks -

tasks.jar {
manifest {
attributes["Main-Class"] = "MainKt"
}
configurations["compileClasspath"].forEach { file: File ->
from(zipTree(file.absoluteFile))
}
duplicatesStrategy = DuplicatesStrategy.INCLUDE
manifest.attributes["Main-Class"] = "MainKt"
val dependencies = configurations
.runtimeClasspath
.get()
.map(::zipTree)
from(dependencies)
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

tasks.test {
Expand Down

0 comments on commit da4fc0f

Please sign in to comment.