Browse Source

Fix Main.kt package name + fatJar build

master
Ezwen 3 months ago
parent
commit
0420ce0331
  1. 2
      build.gradle
  2. 6
      src/main/kotlin/bandcampcollectiondownloader/main/Main.kt

2
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) } }

6
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

Loading…
Cancel
Save