Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
Update Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
subsub committed Sep 24, 2018
1 parent 040c114 commit e139bff
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ buildscript {
ext.kotlin_version = '1.2.70'
ext.kotlin_version = '1.2.50'
repositories {
mavenLocal()
google()
jcenter()
}
Expand All @@ -20,7 +19,6 @@ buildscript {

allprojects {
repositories {
mavenLocal()
google()
jcenter()
}
Expand All @@ -33,7 +31,7 @@ apply plugin: 'com.jfrog.bintray'
apply plugin: 'java-library'

group = "com.subkhansarif.libs"
def versi = "1.0.8"
def versi = "1.1.2"
version = versi

bintray {
Expand Down
19 changes: 18 additions & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,26 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'maven-publish'

group = "com.subkhansarif.libs"
def versi = "1.0.8"
def versi = "1.1.2"
version = versi

android {
signingConfigs {
release {
keyAlias System.getenv("SIGNING_KEY_ALIAS")
keyPassword System.getenv("SIGNING_KEY_PASSWORD")
storeFile file(String.valueOf(System.getenv("SIGNING_KEYSTORE")))
storePassword System.getenv("SIGNING_STORE_PASSWORD")
}

debug {
keyAlias "android"
keyPassword "android"
storeFile file("~/.android/debug.keystore")
storePassword "android"
}
}

compileSdkVersion 28
defaultConfig {
minSdkVersion 21
Expand Down Expand Up @@ -93,6 +109,7 @@ publishing {
bottomNavbar(MavenPublication) {
artifact sourceJar
artifact "$buildDir/outputs/aar/library-release.aar"
artifact "$buildDir/libs/library-$versi-sources.jar"
groupId group
artifactId "bottomnavbarlib"
version versi
Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

group = "com.subkhansarif.libs"
def versi = "1.0.8"
def versi = "1.1.2"
version = versi

android {
Expand Down

0 comments on commit e139bff

Please sign in to comment.