diff --git a/.classpath b/.classpath
deleted file mode 100644
index 4be791f..0000000
--- a/.classpath
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/.gitignore b/.gitignore
index 346955e..e2b2084 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,6 @@
bin/
build/
+
+.classpath
+.project
diff --git a/.project b/.project
deleted file mode 100644
index 0572398..0000000
--- a/.project
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
- NameGen
- Project NameGen created by Buildship.
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- org.eclipse.buildship.core.gradleprojectbuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
- org.eclipse.buildship.core.gradleprojectnature
-
-
-
- 1603900609798
-
- 30
-
- org.eclipse.core.resources.regexFilterMatcher
- node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__
-
-
-
-
diff --git a/build.gradle b/build.gradle
index 5bf9f71..fa12100 100644
--- a/build.gradle
+++ b/build.gradle
@@ -24,7 +24,7 @@ ext{
}
}
-task jarAndroid{
+task jarAndroid(type: Jar){
dependsOn "jar"
doLast{
@@ -33,6 +33,10 @@ task jarAndroid{
doExec("d8 $dependencies --min-api 14 --output ${appName}Android.jar ${appName}Desktop.jar")
}
+
+ manifest{
+ attributes("Main-Class": mainClassName)
+ }
}
jar{
@@ -56,4 +60,8 @@ task deploy(type: Jar){
delete{ delete "$buildDir/libs/${appName}Desktop.jar" }
delete{ delete "$buildDir/libs/${appName}Android.jar" }
}
+
+ manifest{
+ attributes("Main-Class": mainClassName)
+ }
}