Skip to content

Commit

Permalink
Gradle tweaking plus add another natives lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cervator committed Oct 3, 2015
1 parent 0bcde9c commit b9049a6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 80 deletions.
25 changes: 0 additions & 25 deletions .gitignore
Expand Up @@ -2,32 +2,13 @@
hs_err_pid*
.gradle

## Ignored sub-projects with nested Git roots
android
gwt

## GWT
war/
html/war/gwt_bree/
html/gwt-unitCache/
.apt_generated/
html/war/WEB-INF/deploy/
html/war/WEB-INF/classes/
.gwt/
gwt-unitCache/
www-test/
.gwt-tmp/

## Intellij
.idea/
*.ipr
*.iws
*.iml
out/

# This prop file contains a sdk.dir meant to point to your local Android SDK
local.properties

## Eclipse
.classpath
.project
Expand Down Expand Up @@ -59,12 +40,6 @@ Icon
ehthumbs.db
Thumbs.db

tmp/
*.zip
.idea/
.gradle/
gradle/

editor/manifest.mf
editor/nbbuild.xml
editor/build/*
Expand Down
55 changes: 0 additions & 55 deletions build.gradle
Expand Up @@ -2,15 +2,8 @@ buildscript {
repositories {
mavenCentral()
}
dependencies {
// Git plugin for Gradle
classpath 'org.ajoberstar:gradle-git:0.6.3'
}
}

// Git plugin details at https://github.com/ajoberstar/gradle-git
import org.ajoberstar.gradle.git.tasks.*

allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
Expand Down Expand Up @@ -41,51 +34,3 @@ tasks.eclipse.doLast {
cleanIdea.doLast {
new File('box2d-editor.iws').delete()
}

//task (fetchAndroid, type: GitClone) {
// description = 'Git clones the Android facade source from GitHub'
//
// // Repo name is the dynamic part of the task name
// def repo = 'DestSolAndroid'
//
// // Default GitHub account to use. Supply with -PgithubAccount="TargetAccountName" or via gradle.properties
// def githubHome = 'MovingBlocks'
//
// def destination = file('android')
//
// // Don't clone this repo if we already have a directory by that name (also determines Gradle UP-TO-DATE)
// enabled = !destination.exists()
// //println "fetchAndroid requested for $repo from Github under $githubHome - exists already? " + !enabled
//
// // Do the actual clone if we don't have the directory already
// if (enabled) {
// uri = "https://github.com/$githubHome/" + repo + ".git"
// //println "Fetching $repo from $uri"
// destinationPath = destination
// bare = false
// }
//}

//task (fetchGwt, type: GitClone) {
// description = 'Git clones the GWT facade source from GitHub'
//
// // Repo name is the dynamic part of the task name
// def repo = 'DestSolGwt'
//
// // Default GitHub account to use. Supply with -PgithubAccount="TargetAccountName" or via gradle.properties
// def githubHome = 'MovingBlocks'
//
// def destination = file('gwt')
//
// // Don't clone this repo if we already have a directory by that name (also determines Gradle UP-TO-DATE)
// enabled = !destination.exists()
// //println "fetchGwt requested for $repo from Github under $githubHome - exists already? " + !enabled
//
// // Do the actual clone if we don't have the directory already
// if (enabled) {
// uri = "https://github.com/$githubHome/" + repo + ".git"
// //println "Fetching $repo from $uri"
// destinationPath = destination
// bare = false
// }
//}
1 change: 1 addition & 0 deletions editor/build.gradle
Expand Up @@ -7,6 +7,7 @@ dependencies {
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"

Expand Down
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
#Tue Apr 21 17:45:12 CEST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-bin.zip

0 comments on commit b9049a6

Please sign in to comment.