Skip to content

Commit

Permalink
Merge pull request #40 from rbro112/change_publisher_to_jitpack
Browse files Browse the repository at this point in the history
Move to Jitpack to publish the newer versions of the Library
  • Loading branch information
wching authored Aug 17, 2020
2 parents c8e2391 + 438e7d8 commit 3e098d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 40 deletions.
9 changes: 3 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,17 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

plugins {
id "com.github.dcendents.android-maven" version "2.0"
id "com.jfrog.bintray" version "1.8.0"
}

allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
}
36 changes: 2 additions & 34 deletions indefinitepagerindicator/build.gradle
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.github.dcendents.android-maven'

ext {
bintrayRepo = 'maven'
bintrayName = 'IndefinitePagerIndicator'

publishedGroupId = 'com.ryanjeffreybrooks'
libraryName = 'IndefinitePagerIndicator'
artifact = 'indefinitepagerindicator'

libraryDescription = 'A lightweight, plug-and-play indefinite pager indicator for RecyclerViews & ViewPagers.'

siteUrl = 'https://github.com/rbro112/Android-Indefinite-Pager-Indicator'
gitUrl = 'https://github.com/rbro112/Android-Indefinite-Pager-Indicator.git'

libraryVersion = '1.0.10'

developerId = 'rbro112'
developerName = 'Ryan Brooks'
developerEmail = '[email protected]'

licenseName = 'MIT License'
licenseUrl = 'https://github.com/rbro112/Android-Indefinite-Pager-Indicator/blob/master/LICENSE.md'
allLicenses = ["MIT"]
}
group = 'com.ryanjeffreybrooks.IndefinitePagerIndicator'

android {
compileSdkVersion 26
Expand All @@ -38,14 +17,6 @@ android {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}

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

}

dependencies {
Expand All @@ -58,6 +29,3 @@ dependencies {
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}

apply from: '../gradle/bintray_installer.gradle'
apply from: '../gradle/maven_installer.gradle'

0 comments on commit 3e098d9

Please sign in to comment.