Skip to content

Commit

Permalink
feat: readying for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspots committed May 1, 2024
1 parent 586d9b1 commit c0802f6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GITHUB_TOKEN=[string]
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
.env

*.class

Expand Down
16 changes: 13 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
plugins {
application
id("com.github.johnrengelman.shadow") version "8.1.1"
kotlin("jvm") version "1.9.22"
}

group = "technology.idlab"
version = "1.0-SNAPSHOT"

application {
mainClass.set("technology.idlab.MainKt")
}

tasks.shadowJar {
manifest.attributes.apply {
put("Main-Class", "technology.idlab.MainKt")
}
mergeServiceFiles()
}

repositories {
mavenCentral()
}
Expand All @@ -22,9 +35,6 @@ dependencies {
implementation("org.apache.jena:apache-jena-libs:5.0.0")
implementation("org.apache.jena:jena-arq:5.0.0")

// Add reactive support.
implementation("io.reactivex.rxjava3:rxjava:3.1.8")

// Initialize testing.
testImplementation("org.jetbrains.kotlin:kotlin-test")
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fun main(args: Array<String>) {
// Parse arguments.
if (args.size != 1) {
println("Usage: jvm-runner <config>")
exitProcess(-1)
exitProcess(0)
}

// Parse and load the configuration.
Expand Down

0 comments on commit c0802f6

Please sign in to comment.