Skip to content

Commit

Permalink
Fix Main.kt package name + fatJar build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezwen committed Feb 3, 2021
1 parent c0cda66 commit 0420ce0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ compileTestKotlin {
//create a single Jar with all dependencies
task fatJar(type: Jar) {
manifest {
attributes 'Main-Class': 'bandcampcollectiondownloader.MainKt'
attributes 'Main-Class': 'bandcampcollectiondownloader.main.MainKt'
}
archiveBaseName.set("bandcamp-collection-downloader")
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
Expand Down
6 changes: 5 additions & 1 deletion src/main/kotlin/bandcampcollectiondownloader/main/Main.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package bandcampcollectiondownloader.core
package bandcampcollectiondownloader.main

import bandcampcollectiondownloader.core.Args
import bandcampcollectiondownloader.core.BandCampDownloaderError
import bandcampcollectiondownloader.core.BandcampCollectionDownloader
import bandcampcollectiondownloader.core.Constants
import bandcampcollectiondownloader.util.DryIO
import bandcampcollectiondownloader.util.IO
import bandcampcollectiondownloader.util.RealIO
Expand Down

0 comments on commit 0420ce0

Please sign in to comment.