Skip to content

Commit 8bd26e0

Browse files
committed
Center counter text without description added
1 parent 780e2d2 commit 8bd26e0

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A progress bar for my ongoing project.
1010
via Gradle:
1111

1212
dependencies {
13-
compile 'com.zekapp.library:progreswheelview:1.1.2'
13+
compile 'com.zekapp.library:progreswheelview:1.1.3'
1414
}
1515

1616
## Usage of Dial progress bar

app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies {
2727
implementation 'com.android.support:design:27.1.1'
2828

2929
implementation project(':progreswheelview')
30-
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
30+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
3131
}
3232
repositories {
3333
mavenCentral()

build.gradle

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
buildscript {
44
ext.kotlin_version = '1.2.51'
55
repositories {
6-
jcenter()
76
google()
7+
jcenter()
88
}
99
dependencies {
1010
classpath 'com.android.tools.build:gradle:3.1.3'
@@ -19,10 +19,15 @@ buildscript {
1919

2020
allprojects {
2121
repositories {
22+
google()
2223
jcenter()
2324
}
2425
}
2526

2627
task clean(type: Delete) {
2728
delete rootProject.buildDir
2829
}
30+
31+
subprojects {
32+
tasks.withType(Javadoc).all { enabled = false }
33+
}

progreswheelview/build.gradle

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
33

4-
def libVer = '1.1.2'
4+
def libVer = '1.1.3'
55

66
ext {
77
bintrayRepo = 'Maven'
@@ -11,7 +11,7 @@ ext {
1111
libraryName = 'progress-views'
1212
artifact = 'progreswheelview'
1313

14-
libraryDescription = 'Different type of progresses.'
14+
libraryDescription = 'Different type of progress views.'
1515

1616
siteUrl = 'https://github.com/zekapp/Android-ProgressViews'
1717
gitUrl = 'https://github.com/zekapp/Android-ProgressViews.git'
@@ -48,12 +48,19 @@ android {
4848
dependencies {
4949
implementation fileTree(dir: 'libs', include: ['*.jar'])
5050
testImplementation 'junit:junit:4.12'
51-
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
51+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
5252
}
5353
repositories {
5454
mavenCentral()
5555
}
5656

57+
//Add these lines to publish library to bintray. This is the readymade scripts made by github user nuuneoi to make uploading to bintray easy.
58+
//Place it at the end of the file
59+
if (project.rootProject.file('local.properties').exists()) {
60+
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
61+
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
62+
}
63+
5764
//apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
5865
//apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
5966

0 commit comments

Comments
 (0)