The gradle dependencies seems to be fine now, for the mobile-desktop project too, but I have compile errors, because of the old libgdx Bitmap Font refactor.

This commit is contained in:
Relintai 2017-10-06 11:30:35 +02:00
parent 9d96bbba5f
commit cf014c9b04
5 changed files with 48 additions and 15 deletions

View File

@ -106,7 +106,9 @@ project(":forge-gui-mobile") {
dependencies { dependencies {
compile project(":forge-core") compile project(":forge-core")
compile project(":forge-game")
compile project(":forge-ai") compile project(":forge-ai")
compile project(":forge-gui")
compile "com.badlogicgames.gdx:gdx:$gdxVersion" compile "com.badlogicgames.gdx:gdx:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion" compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
} }
@ -118,7 +120,9 @@ project(":forge-gui-mobile-desktop") {
dependencies { dependencies {
compile project(":forge-core") compile project(":forge-core")
compile project(":forge-game")
compile project(":forge-ai") compile project(":forge-ai")
compile project(":forge-gui")
compile project(":forge-gui-mobile") compile project(":forge-gui-mobile")
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion" compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop" compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>mtg-forge-gradle-desktop</name> <name>forge-gui-mobile-desktop</name>
<comment>Project my-gdx-game-desktop created by Buildship.</comment> <comment></comment>
<projects> <projects>
</projects> </projects>
<buildSpec> <buildSpec>
@ -20,17 +20,4 @@
<nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature> <nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures> </natures>
<linkedResources>
<link>
<name>assets</name>
<type>2</type>
<locationURI>PARENT-1-PROJECT_LOC/core/assets</locationURI>
</link>
</linkedResources>
<variableList>
<variable>
<name>copy_PARENT</name>
<value>$%7BPARENT-2-PROJECT_LOC%7D/Projects/mtg-forge-ios</value>
</variable>
</variableList>
</projectDescription> </projectDescription>

View File

@ -0,0 +1,9 @@
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=ALL, A1
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

View File

@ -0,0 +1,31 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${title}</title>
<style type="text/css">
<!--
body, html, img, a {margin: 0; padding: 0; border: none;}
#back {display: none;padding: 5px; background-color: yellow;font-size: 150%;}
@media screen { #back {display: block; position: absolute; right: 0; top: 0;} }
-->
</style>
</head>
<body>
<#list urls as url>
<img src="${url}" height="${height}" width="${width}" style="margin: 0 ${cardBorder}px ${cardBorder}px 0;">
</#list>
<br>
<table style="font-size:10px;" border=1 cellpadding="5" cellspacing="1">
<tr>
<td width="${cardlistWidth}">
<#list cardList?keys as key>
${cardList[key]} ${key}<br>
</#list>
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,2 @@
Manifest-Version: 1.0