Skip to content

Commit

Permalink
Move to JCenter, good bye MavenCentral
Browse files Browse the repository at this point in the history
  • Loading branch information
akexorcist committed Apr 19, 2020
1 parent ba0281b commit 2bfbdf2
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 130 deletions.
12 changes: 6 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
compileSdkVersion Integer.parseInt(project.ANDROID_COMPILE_SDK_VERSION)
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
compileSdkVersion 29
buildToolsVersion "29.0.2"

defaultConfig {
applicationId "com.akexorcist.roundcornerprogressbar"
minSdkVersion Integer.parseInt(project.ANDROID_MIN_SDK)
targetSdkVersion Integer.parseInt(project.ANDROID_TARGET_SDK_VERSION)
versionName project.VERSION_NAME
versionCode Integer.parseInt(project.VERSION_CODE)
minSdkVersion 17
targetSdkVersion 29
versionCode 20100
versionName "2.1.0"
}
buildTypes {
release {
Expand Down
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.17"
}
}

def isReleaseBuild() {
return version.contains("SNAPSHOT") == false
}

allprojects {
repositories {
google()
Expand Down
21 changes: 0 additions & 21 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,3 @@ android.useAndroidX=true
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official


VERSION_NAME=2.1.0
VERSION_CODE=020100
GROUP=com.akexorcist

POM_DESCRIPTION=Round is cool. Let's make your progress bar to round corner
POM_URL=https://github.com/akexorcist/Android-RoundCornerProgressBar
POM_SCM_URL=https://github.com/akexorcist/Android-RoundCornerProgressBar
POM_SCM_CONNECTION=scm:[email protected]:akexorcist/Android-RoundCornerProgressBar.git
POM_SCM_DEV_CONNECTION=scm:[email protected]:akexorcist/Android-RoundCornerProgressBar.git
POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=Akexorcist
POM_DEVELOPER_NAME=Somkiat Khitwongwattana

ANDROID_BUILD_TOOLS_VERSION=29.0.2
ANDROID_COMPILE_SDK_VERSION=29
ANDROID_TARGET_SDK_VERSION=29
ANDROID_MIN_SDK=17
45 changes: 38 additions & 7 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
apply plugin: 'com.android.library'
apply plugin: 'org.jetbrains.dokka-android'

android {
compileSdkVersion Integer.parseInt(project.ANDROID_COMPILE_SDK_VERSION)
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
compileSdkVersion 29
buildToolsVersion "29.0.2"

defaultConfig {
minSdkVersion Integer.parseInt(project.ANDROID_MIN_SDK)
targetSdkVersion Integer.parseInt(project.ANDROID_TARGET_SDK_VERSION)
versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
minSdkVersion 17
targetSdkVersion 29
versionCode 20100
versionName "2.1.0"
}

buildTypes {
Expand All @@ -26,10 +27,40 @@ android {
}
}

dokka {
outputFormat = 'html'
outputDirectory = "$buildDir/javadoc"
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.13'
implementation "androidx.annotation:annotation:1.1.0"
}

//apply from: '../maven_push.gradle'
ext {
bintrayRepo = 'maven'
bintrayName = 'round-corner-progress-bar'

publishedGroupId = 'com.akexorcist'
libraryName = 'RoundCornerProgressBar'
artifact = 'round-corner-progress-bar'

libraryDescription = 'Round corner is cool. Let\'s make your progress bar with round corner'

siteUrl = 'https://github.com/akexorcist/Android-RoundCornerProgressBar'
gitUrl = 'https://github.com/akexorcist/Android-RoundCornerProgressBar.git'

libraryVersion = '2.1.0'

developerId = 'akexorcist'
developerName = 'Somkiat Khitwongwattana'
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: '../publish/installv1.gradle'
apply from: '../publish/bintrayv1.gradle'
92 changes: 0 additions & 92 deletions maven_push.gradle

This file was deleted.

0 comments on commit 2bfbdf2

Please sign in to comment.