Fix several lints and warnings

This commit is contained in:
Lonami Exo 2019-09-05 16:44:07 +02:00
parent 5c2aeb6e91
commit 5e5cfc3d5f
42 changed files with 70 additions and 63 deletions

View file

@ -4,7 +4,7 @@ sourceCompatibility = 1.6
sourceSets.main.java.srcDirs = [ "src/" ]
project.ext.mainClassName = "dev.lonami.klooni.desktop.DesktopLauncher"
project.ext.assetsDir = new File("../android/assets");
project.ext.assetsDir = new File("../android/assets")
task run(dependsOn: classes, type: JavaExec) {
main = project.mainClassName
@ -18,7 +18,7 @@ task dist(type: Jar) {
from files(sourceSets.main.output.classesDirs)
from files(sourceSets.main.output.resourcesDir)
from {configurations.compile.collect {zipTree(it)}}
from files(project.assetsDir);
from files(project.assetsDir)
manifest {
attributes 'Main-Class': project.mainClassName

View file

@ -1,6 +1,6 @@
/*
1010! Klooni, a free customizable puzzle game for Android and Desktop
Copyright (C) 2017 Lonami Exo | LonamiWebs
Copyright (C) 2017-2019 Lonami Exo @ lonami.dev
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by