Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@pratheepchowdhary
Last active February 9, 2019 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pratheepchowdhary/5622e25be39a1acaab48709fc9c631fc to your computer and use it in GitHub Desktop.
Save pratheepchowdhary/5622e25be39a1acaab48709fc9c631fc to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.library'
ext {
// repo name which you created
bintrayRepo = 'maven'
//project name
bintrayName = 'InstagramPostViewAndroid'
//enter your package name
publishedGroupId = 'in.androidhunt.instapost'
//project name
libraryName = 'InstagramPostViewAndroid'
//project name
artifact = 'InstagramPostViewAndroid'
// some description about your library
libraryDescription = 'InstagramPostViewAndroid is an android libary to displays Instragram Embed Post Content To Your Android Appliaction Essaily With less Stuff'
// github
siteUrl = 'https://github.com/pratheepchowdhary/InstagramPostViewAndroid'
gitUrl = 'https://github.com/pratheepchowdhary/InstagramPostViewAndroid.git'
libraryVersion = '1.0.4'
developerId = 'partheepchowdhary'
developerName = 'Pratheep Kanati'
developerEmail = 'pratheepkanati@gmail.com'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 15
targetSdkVersion 28
versionCode 4
versionName "1.0.4"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
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'
}
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment