-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Bintray plugins and dependencies.
* Add Jitpack.io instead.
- Loading branch information
1 parent
bdcb766
commit 0b45fd4
Showing
3 changed files
with
3 additions
and
96 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
plugins { | ||
id "com.android.library" | ||
id "com.github.dcendents.android-maven" | ||
id "com.jfrog.bintray" | ||
id "kotlin-android" | ||
id "kotlin-kapt" | ||
id "kotlin-android-extensions" | ||
|
@@ -15,7 +13,7 @@ android { | |
minSdkVersion 14 | ||
targetSdkVersion 28 | ||
versionCode 3 | ||
versionName "0.10.0" | ||
versionName "0.11.0" | ||
} | ||
buildTypes { | ||
release { | ||
|
@@ -64,90 +62,3 @@ dependencies { | |
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.1.0" | ||
testImplementation "io.mockk:mockk:1.9.3" | ||
} | ||
|
||
//BINTRAY - JCENTER | ||
group = 'com.neatorobotics.sdk.android' | ||
version = '0.10.0' | ||
|
||
def siteUrl = 'https://github.com/NeatoRobotics/neato-sdk-android' | ||
def gitUrl = 'https://github.com/NeatoRobotics/neato-sdk-android.git' | ||
|
||
Properties properties = new Properties() | ||
try { | ||
properties.load(project.rootProject.file('local.properties').newDataInputStream()) | ||
} catch (Exception e) { | ||
println '[Neato SDK]local.properties file not found!' | ||
} | ||
|
||
|
||
bintray { | ||
user = properties.getProperty("bintray.user") | ||
key = properties.getProperty("bintray.apikey") | ||
|
||
configurations = ['archives'] //When uploading configuration files | ||
pkg { | ||
repo = 'maven' | ||
name = "neato-sdk-android" | ||
desc = 'Neato SDK for Android' | ||
websiteUrl = siteUrl | ||
issueTrackerUrl = 'https://github.com/NeatoRobotics/neato-sdk-android' | ||
vcsUrl = gitUrl | ||
licenses = ['MIT'] | ||
labels = ['neato', 'android', 'sdk', 'java'] | ||
publicDownloadNumbers = true | ||
} | ||
} | ||
|
||
install { | ||
repositories.mavenInstaller { | ||
pom { | ||
project { | ||
packaging 'aar' | ||
name 'Neato SDK for Android' | ||
url siteUrl | ||
licenses { | ||
license { | ||
name 'The MIT License (MIT)' | ||
url 'https://opensource.org/licenses/MIT' | ||
} | ||
} | ||
developers { | ||
developer { | ||
id 'marcouberti' | ||
name 'Marco Uberti' | ||
email '[email protected]' | ||
} | ||
} | ||
scm { | ||
connection 'https://github.com/NeatoRobotics/neato-sdk-android' | ||
developerConnection 'https://github.com/NeatoRobotics/neato-sdk-android' | ||
url siteUrl | ||
|
||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
task sourcesJar(type: Jar) { | ||
from android.sourceSets.main.java.srcDirs | ||
classifier = 'sources' | ||
} | ||
|
||
task javadoc(type: Javadoc) { | ||
source = android.sourceSets.main.java.srcDirs | ||
classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) | ||
} | ||
|
||
task javadocJar(type: Jar, dependsOn: javadoc) { | ||
classifier = 'javadoc' | ||
from javadoc.destinationDir | ||
} | ||
artifacts { | ||
//archives javadocJar | ||
archives sourcesJar | ||
} | ||
|
||
task findConventions << { | ||
println project.getConvention() | ||
} |