Skip to content

Instantly share code, notes, and snippets.

@flushpot1125
Created October 2, 2016 07:18
Show Gist options
  • Save flushpot1125/4d8aba4519264552b097807fb041a2cf to your computer and use it in GitHub Desktop.
Save flushpot1125/4d8aba4519264552b097807fb041a2cf to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.library'
android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
minSdkVersion 19
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
// testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.0.0'
compile files('libs/classes.jar')
}
android.libraryVariants.all { variant ->
variant.outputs.each { output ->
output.packageLibrary.exclude('libs/classes.jar')
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment