-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- clean up versioning.
- Loading branch information
Showing
6 changed files
with
78 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/libraries | ||
/.idea | ||
/.idea/modules.xml | ||
/.idea/workspace.xml | ||
.DS_Store | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Sun Apr 01 19:13:46 IRDT 2018 | ||
#Tue Aug 28 07:38:07 IRDT 2018 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-all.zip |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apply plugin: "com.jfrog.artifactory" | ||
apply plugin: 'maven-publish' | ||
def artifactoryUrl = "https://api.bintray.com/maven/adibfara/lives/" | ||
apply from: rootProject.file('versions.gradle') | ||
|
||
publishing.publications { | ||
aar(MavenPublication) { | ||
groupId "com.snakydesign.livedataextensions" | ||
version = versionNumbers.versionName | ||
artifactId = 'lives' | ||
artifact("$buildDir/outputs/aar/$archivesBaseName-release.aar") | ||
} | ||
} | ||
|
||
artifactory { | ||
contextUrl = artifactoryUrl | ||
publish { | ||
repository { | ||
Properties properties = new Properties() | ||
properties.load(project.rootProject.file('local.properties').newDataInputStream()) | ||
repoKey = 'lives/' | ||
username = properties.getProperty('bintray.user') | ||
password = properties.getProperty('bintray.apiKey') | ||
} | ||
|
||
defaults { | ||
publishArtifacts = true | ||
publications('aar') | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
ext.versionNumbers = [ | ||
gradle : '3.3.0-alpha06', | ||
jfrog : '4.7.5', | ||
|
||
kotlin : '1.2.60', | ||
mockito : '2.8.9', | ||
arch : '1.1.1', | ||
junit : '4.12', | ||
|
||
minSdk : 16, | ||
targetSdk : 26, | ||
versionCode: 2, | ||
versionName: '1.1', | ||
] | ||
|
||
ext.libraries = [ | ||
gradle : "com.android.tools.build:gradle:$versionNumbers.gradle", | ||
jfrog : "org.jfrog.buildinfo:build-info-extractor-gradle:$versionNumbers.jfrog", | ||
kotlinGradle : "org.jetbrains.kotlin:kotlin-gradle-plugin:$versionNumbers.kotlin", | ||
|
||
kotlinSTDLib : "org.jetbrains.kotlin:kotlin-stdlib:$versionNumbers.kotlin", | ||
kotlinTestJunit : "org.jetbrains.kotlin:kotlin-test-junit:$versionNumbers.kotlin", | ||
mockito : "org.mockito:mockito-core:$versionNumbers.mockito", | ||
archLifeCycle : "android.arch.lifecycle:extensions:$versionNumbers.arch", | ||
archCoreTesting : "android.arch.core:core-testing:$versionNumbers.arch", | ||
junit : "junit:junit:$versionNumbers.junit", | ||
] |