Skip to content

Commit

Permalink
fix mainClassname and version
Browse files Browse the repository at this point in the history
  • Loading branch information
MaaxGr committed Dec 17, 2020
1 parent f7b0dfb commit 38b54d7
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
11 changes: 8 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ apply plugin: 'maven'


group = 'com.github.MaaxGr'
version '1.0.0'
mainClassName = "de.maaxgr.ktor.globalcalldata.MainKt"
version = '1.0.2'
mainClassName = "com.github.maaxgr.ktor.globalcalldata.MainKt"

repositories {
mavenLocal()
Expand All @@ -19,10 +19,15 @@ repositories {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
compile "io.ktor:ktor-server-netty:$ktor_version"
implementation "io.ktor:ktor-server-netty:$ktor_version"
}

jar {
manifest {
attributes(
'Main-Class': mainClassName
)
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.maaxgr.ktor.globalcalldata
package com.github.maaxgr.ktor.globalcalldata

import java.util.concurrent.ConcurrentHashMap
import kotlin.coroutines.CoroutineContext
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.maaxgr.ktor.globalcalldata
package com.github.maaxgr.ktor.globalcalldata

import io.ktor.application.*
import kotlin.coroutines.CoroutineContext
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.maaxgr.ktor.globalcalldata
package com.github.maaxgr.ktor.globalcalldata

import kotlin.coroutines.CoroutineContext
import kotlin.reflect.KProperty
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@file:Suppress("TYPE_INFERENCE_ONLY_INPUT_TYPES_WARNING")

package de.maaxgr.ktor.globalcalldata
package com.github.maaxgr.ktor.globalcalldata

import io.ktor.application.*
import io.ktor.response.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package de.maaxgr.ktor.globalcalldata
package com.github.maaxgr.ktor.globalcalldata

fun main() {
println("Hello Ktor-GlobalCallData!")
Expand Down

0 comments on commit 38b54d7

Please sign in to comment.