Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BattleGoose
BattleGoose
Commits
6edc71f0
Verified
Commit
6edc71f0
authored
Apr 25, 2022
by
Lars Mitsem Selbekk
Browse files
Remove Desktop-subproject
parent
33228904
Pipeline
#175830
failed with stages
in 12 minutes and 22 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build.gradle
View file @
6edc71f0
...
...
@@ -59,20 +59,6 @@ allprojects {
}
}
project
(
":desktop"
)
{
apply
plugin:
"kotlin"
dependencies
{
implementation
project
(
":core"
)
api
"com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
api
"com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
api
"com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
api
"com.badlogicgames.gdx-controllers:gdx-controllers-desktop:$gdxControllersVersion"
api
"org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}
}
project
(
":android"
)
{
apply
plugin:
"android"
apply
plugin:
"kotlin-android"
...
...
desktop/build.gradle
deleted
100644 → 0
View file @
33228904
sourceCompatibility
=
1.7
sourceSets
.
main
.
java
.
srcDirs
=
[
"src/"
]
sourceSets
.
main
.
resources
.
srcDirs
=
[
"../android/assets"
]
project
.
ext
.
mainClassName
=
"se.battlegoo.battlegoose.desktop.DesktopLauncher"
project
.
ext
.
assetsDir
=
new
File
(
"../android/assets"
)
task
run
(
dependsOn:
classes
,
type:
JavaExec
)
{
main
=
project
.
mainClassName
classpath
=
sourceSets
.
main
.
runtimeClasspath
standardInput
=
System
.
in
workingDir
=
project
.
assetsDir
ignoreExitValue
=
true
}
task
debug
(
dependsOn:
classes
,
type:
JavaExec
)
{
main
=
project
.
mainClassName
classpath
=
sourceSets
.
main
.
runtimeClasspath
standardInput
=
System
.
in
workingDir
=
project
.
assetsDir
ignoreExitValue
=
true
debug
=
true
}
task
dist
(
type:
Jar
)
{
manifest
{
attributes
'Main-Class'
:
project
.
mainClassName
}
dependsOn
configurations
.
runtimeClasspath
from
{
configurations
.
runtimeClasspath
.
collect
{
it
.
isDirectory
()
?
it
:
zipTree
(
it
)
}
}
with
jar
}
dist
.
dependsOn
classes
eclipse
.
project
.
name
=
appName
+
"-desktop"
desktop/src/se/battlegoo/battlegoose/desktop/DesktopLauncher.kt
deleted
100644 → 0
View file @
33228904
package
se.battlegoo.battlegoose.desktop
import
com.badlogic.gdx.backends.lwjgl.LwjglApplication
import
com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration
import
se.battlegoo.battlegoose.Game
import
kotlin.jvm.JvmStatic
object
DesktopLauncher
{
@JvmStatic
fun
main
(
arg
:
Array
<
String
>)
{
val
config
=
LwjglApplicationConfiguration
()
LwjglApplication
(
Game
(),
config
)
config
.
width
=
Game
.
WIDTH
.
toInt
()
config
.
height
=
Game
.
HEIGHT
.
toInt
()
config
.
title
=
Game
.
TITLE
}
}
settings.gradle
View file @
6edc71f0
include
'desktop'
,
'android'
,
'core'
include
'android'
,
'core'
rootProject
.
name
=
"battlegoose"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment