diff --git a/build.gradle b/build.gradle index 6ccb88e..86f1176 100644 --- a/build.gradle +++ b/build.gradle @@ -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) } } diff --git a/src/main/kotlin/bandcampcollectiondownloader/main/Main.kt b/src/main/kotlin/bandcampcollectiondownloader/main/Main.kt index b8e4c6d..980ffa3 100644 --- a/src/main/kotlin/bandcampcollectiondownloader/main/Main.kt +++ b/src/main/kotlin/bandcampcollectiondownloader/main/Main.kt @@ -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