-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from betterme-dev/develop
RC 3.0.0
- Loading branch information
Showing
15 changed files
with
18 additions
and
689 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,12 @@ apply plugin: 'com.android.library' | |
apply plugin: 'kotlin-android' | ||
apply plugin: 'kotlin-kapt' | ||
apply plugin: 'kotlin-android-extensions' | ||
apply plugin: 'com.github.dcendents.android-maven' | ||
apply plugin: 'com.jfrog.bintray' | ||
apply plugin: 'org.jetbrains.dokka-android' | ||
|
||
def libraryVersionName = rootProject.extensions.getByName("ext")["versionName"] | ||
|
||
android { | ||
|
||
defaultConfig { | ||
versionName "3.0.0" | ||
minSdkVersion minSdkVer | ||
targetSdkVersion targetSdkVer | ||
compileSdkVersion compileSdkVer | ||
|
@@ -59,49 +56,6 @@ dependencies { | |
|
||
} | ||
|
||
def siteUrl = 'https://github.com/betterme-dev/RxBilling' // Homepage URL of the library | ||
def gitUrl = 'https://github.com/betterme-dev/RxBilling.git' // Git repository URL | ||
def issueUrl = 'https://github.com/betterme-dev/RxBilling/issues' // Issues URL | ||
group = GROUP // Maven Group ID for the artifact | ||
version = libraryVersionName | ||
|
||
install { | ||
repositories.mavenInstaller { | ||
// This generates POM.xml with proper parameters | ||
pom { | ||
project { | ||
packaging POM_PACKAGING | ||
|
||
// Add your description here | ||
name POM_NAME | ||
description = POM_DESCRIPTION | ||
url SITE_URL | ||
|
||
// Set your license | ||
licenses { | ||
license { | ||
name POM_LICENCE_NAME | ||
url POM_LICENCE_URL | ||
distribution POM_LICENCE_DIST | ||
} | ||
} | ||
developers { | ||
developer { | ||
id 'dmytro-ostapovets' | ||
name 'Dmytro Ostapovets' | ||
email "[email protected]" | ||
} | ||
} | ||
scm { | ||
connection gitUrl | ||
developerConnection gitUrl | ||
url siteUrl | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
task sourcesJar(type: Jar) { | ||
from android.sourceSets.main.java.srcDirs | ||
archiveClassifier.set('sources') | ||
|
@@ -128,26 +82,3 @@ artifacts { | |
|
||
Properties properties = new Properties() | ||
properties.load(project.rootProject.file('local.properties').newDataInputStream()) | ||
|
||
bintray { | ||
user = properties.getProperty("bintray.user") | ||
key = properties.getProperty("bintray.apikey") | ||
|
||
configurations = ['archives'] | ||
pkg { | ||
repo = "rxbilling" | ||
name = "com.betterme:rxbilling" | ||
websiteUrl = SITE_URL | ||
vcsUrl = VCS_URL | ||
issueTrackerUrl = VCS_ISSUES_URL | ||
userOrg = 'betterme' | ||
licenses = ["Apache-2.0"] | ||
publish = true | ||
version { | ||
name = libraryVersionName | ||
desc = 'Billing library release $libraryVersionName' | ||
released = new Date() | ||
vcsTag = libraryVersionName | ||
} | ||
} | ||
} |
Oops, something went wrong.