Last active
May 26, 2018 05:05
-
-
Save anitaa1990/18eb559f5c224f682844152186761892 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Step I: Add the below line | |
apply plugin: 'com.novoda.bintray-release' | |
apply plugin: 'com.android.library' | |
//Step II: Add the below publish details | |
publish { | |
def groupProjectID = 'com.an.optimize' | |
def artifactProjectID = 'optimize' | |
def publishVersionID = '0.1.0' | |
userOrg = 'murthyanitaa' | |
repoName = 'Optimize' | |
groupId = groupProjectID | |
artifactId = artifactProjectID | |
publishVersion = publishVersionID | |
desc = 'Android library for displaying data based on JSON configuration fetched from server. With this library, you can kiss goodbye to string.xml, dimen.xml, arrays.xml. Keep all your string/integer/array config in one file. The library will automatically fetch the data from the url you provide.' | |
website = 'https://github.com/anitaa1990/Optimize' | |
} | |
android { | |
compileSdkVersion 27 | |
defaultConfig { | |
minSdkVersion 14 | |
targetSdkVersion 27 | |
versionCode 1 | |
versionName "1.0" | |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
} | |
dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | |
implementation 'com.android.support:appcompat-v7:27.1.1' | |
testImplementation 'junit:junit:4.12' | |
androidTestImplementation 'com.android.support.test:runner:1.0.2' | |
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' | |
implementation "android.arch.work:work-runtime:1.0.0-alpha01" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment