apply plugin: 'com.android.library' // This file is here (rather than in the drag-sort-listview project) // so we can control how it builds without having to submit pull requests. dependencies { compile 'com.android.support:support-v4:22.2.1' } android { compileSdkVersion 22 buildToolsVersion "22.0.1" defaultConfig { targetSdkVersion 22 } sourceSets { main { manifest.srcFile '../drag-sort-listview/library/AndroidManifest.xml' java.srcDirs = ['../drag-sort-listview/library/src'] res.srcDirs = ['../drag-sort-listview/library/res'] } } }