Skip to content

Commit

Permalink
fix: jar 태스크가 runnable jar 생성하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
milkyway0308 committed Mar 28, 2023
1 parent dcfa3fc commit 263932c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.7.21'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}

group = 'org.example'
version = '1.0-SNAPSHOT'
version = rootProject.properties["version"]

repositories {
mavenCentral()
Expand Down Expand Up @@ -33,4 +34,14 @@ compileKotlin {

compileTestKotlin {
kotlinOptions.jvmTarget = '1.8'
}
}

jar {
dependsOn shadowJar
manifest {
attributes(
'Main-Class': 'skywolf46.devain.DevAin'
)
}
}

0 comments on commit 263932c

Please sign in to comment.