Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradlew build won't compile on debian 9. #65

Closed
bobifle opened this issue Jun 5, 2018 · 1 comment
Closed

gradlew build won't compile on debian 9. #65

bobifle opened this issue Jun 5, 2018 · 1 comment
Assignees
Labels
bug fixed bug fix is committed for next release MapTool issue relates to MapTool code vs 3rd party libs

Comments

@bobifle
Copy link

bobifle commented Jun 5, 2018

  • Where:
    Build file '/home/bob/nerps/MapTool/build.gradle' line: 52
    A problem occurred evaluating root project 'MapTool'.

No signature of method: org.eclipse.jgit.internal.storage.file.FileRepository.getRef() is applicable for argument types: (java.lang.String) values: [HEAD]
Possible solutions: getAt(java.lang.String), getFS(), grep(), exactRef(java.lang.String), findRef(java.lang.String), getAllRefs()

The following modification allows me to successfully build/run maptool

diff --git a/build.gradle b/build.gradle
index 822e0ad..051c566 100644
--- a/build.gradle
+++ b/build.gradle
@@ -49,7 +49,7 @@ ext {
        git = org.ajoberstar.grgit.Grgit.open(currentDir: file('.'))
        revision = git.head().abbreviatedId
        revisionFull = git.head().id
-       branch = git.branch.getCurrent().getName()
+       branch = "master"
        gdxVersion = '1.9.6'
        box2DLightsVersion = '1.4'
        //aiVersion = '1.8.0'

@JamzTheMan
Copy link
Owner

I already have this fixed in 1.4.5.0.

@JamzTheMan JamzTheMan self-assigned this Jun 5, 2018
@JamzTheMan JamzTheMan added bug MapTool issue relates to MapTool code vs 3rd party libs fixed bug fix is committed for next release labels Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixed bug fix is committed for next release MapTool issue relates to MapTool code vs 3rd party libs
Projects
None yet
Development

No branches or pull requests

2 participants