Skip to content
This repository was archived by the owner on Aug 3, 2019. It is now read-only.

Commit

Permalink
Update gradle and upload to maven
Browse files Browse the repository at this point in the history
  • Loading branch information
sromku committed Jun 19, 2015
1 parent b014840 commit c9d7b29
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 20 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ gen
build/
.idea/
*.orig
*.asc

.gradle/
*.iml
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ POM_DEVELOPER_ID=sromku
POM_DEVELOPER_NAME=Roman Kushnarenko

ANDROID_BUILD_MIN_SDK_VERSION=9
ANDROID_BUILD_TARGET_SDK_VERSION=21
ANDROID_BUILD_TOOLS_VERSION=21.1.2
ANDROID_BUILD_SDK_VERSION=21
ANDROID_BUILD_TARGET_SDK_VERSION=22
ANDROID_BUILD_TOOLS_VERSION=22.0.1
ANDROID_BUILD_SDK_VERSION=22
75 changes: 58 additions & 17 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,26 +1,67 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 21
buildToolsVersion "21.0.2"

defaultConfig {
minSdkVersion 14
targetSdkVersion 21
versionName project.VERSION_NAME
versionCode Integer.parseInt(project.VERSION_CODE)
consumerProguardFiles 'consumer-proguard-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
minSdkVersion 9
targetSdkVersion 22
versionName project.VERSION_NAME
versionCode Integer.parseInt(project.VERSION_CODE)
consumerProguardFiles 'consumer-proguard-rules.pro'
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
}

repositories {
mavenCentral()
ext {
bintrayRepo = 'maven'
bintrayName = 'simple-fb'

publishedGroupId = 'com.sromku'
libraryName = 'Simple Facebook SDK'
artifact = 'simple-fb'

libraryDescription = 'Simple Facebook SDK for Android which wraps original Facebook SDK. This is a library project which makes the life much easier by coding less code for being able to login, publish feeds and open graph stories, call graph api, invite friends and more.'

siteUrl = 'https://github.com/sromku/android-simple-facebook'
gitUrl = 'https://github.com/sromku/android-simple-facebook.git'

libraryVersion = '4.0.0'

developerId = 'sromku'
developerName = 'Roman Kushnarenko'
developerEmail = '[email protected]'

licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}

apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'

allprojects {
repositories {
jcenter()
}
}

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
classpath 'com.github.dcendents:android-maven-plugin:1.2'
}
}

dependencies {
Expand Down

0 comments on commit c9d7b29

Please sign in to comment.