Manually add library into android-studio[libgdx]

app.gradle

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.0"

    defaultConfig {
        applicationId "com.terminalvelocity.loadspacewar"
        minSdkVersion 21
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile project(':libs:gdx')
    compile project(':libs:gdx-audio')
    compile project(':libs:gdx-bullet')
    //compile project(':libs:gdx-controllers')
    compile project(':libs:gdx-freetype')
    compile project(':libs:gdx-gleed')
    compile project(':libs:gdx-image')
    compile project(':libs:gdx-jnigen')
    //compile project(':libs:gdx-remote')
    compile project(':libs:gdx-setup-ui')
    //compile project(':libs:gdx-texturepacker-gui')
    compile project(':libs:gdx-tiled-preprocessor')
    //compile project(':libs:model-loaders')
    //compile project(':libs:box2d-editor')
    compile project(':libs:gdx-backend-android')
    compile project(':libs:gdx-backend-iosmonotouch')
    compile project(':libs:gdx-backend-lwjgl')
    compile project(':libs:gdx-backends-gwt')
    compile project(':libs:gdx-openal')
}

setting.gradle

include ':app', ':libs:gdx',':libs:gdx-audio',':libs:gdx-bullet',':libs:gdx-controllers',
        ':libs:gdx-freetype',':libs:gdx-gleed',':libs:gdx-image',':libs:gdx-jnigen',':libs:gdx-remote',
        ':libs:gdx-setup-ui',':libs:gdx-texturepacker-gui',':libs:gdx-tiled-preprocessor',':libs:gdx-tools',
        ':libs:model-loaders',':libs:box2d-editor',':libs:gdx-backend-android',':libs:gdx-backend-iosmonotouch',
        ':libs:gdx-backend-lwjgl',':libs:gdx-backends-gwt',':libs:gdx-openal',':libs:gdx-controllers:gdx-controllers',
        ':libs:gdx-controllers:gdx-controllers-android',':libs:gdx-controllers:gdx-controllers-desktop',':libs:gdx-controllers:gdx-controllers-gwt',
        ':libs:model-loaders:model-loaders',':libs:model-loaders:model-loaders'

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s