Skip to content
Software engineering course project - EPFL BA5
Java
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings/gradle
android
core
desktop
gradle/wrapper
libs
prototypeBuilds/Android
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
screensPlan.png
settings.gradle

README.md

sweng-team-andro-foot

###Warning If you just pulled from master and it broke your build it is because we stopped tracking the .project and .classpath files that are specific to eclipse. To repair your eclipse project just import it again as a gradle build.

###Compiling from the command line To compile the project from the command line just navigate to the root of the project and execute (in bash shells) :

  • ./gradlew desktop:run to run the desktop version of the project
  • ./gradlew android:installDebug android:run to install the project on a connected android device or emulator
  • ./gradlew tasks to see all the tasks that gradle can execute.

###Prototype An apk of the prototype is in the prototypeBuilds folder. You can install it through adb by typing adb install -r prototype.apk.

###Testing To test the project through the command line type the following:

  • ./gradlew testto run all tests.
  • ./gradlew core:test to test the unit tests in the core project.
  • ./gradlew desktop:testto test the unit tests in the desktop project.

Tests should be placed in the core project unless they interact with platform specific classes. (GraphicEngine tests need the desktop launcher for example)

You can’t perform that action at this time.