Skip to content

Commit 126e779

Browse files
committed
Add missing plugins and update gradle instructions
1 parent a358793 commit 126e779

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,18 @@ Supports alpha & brightness slider bar, dialog, and saving & restoring selected
2121
</p>
2222

2323
## Including in your project
24-
[![Download](https://api.bintray.com/packages/devmagician/maven/colorpickerview/images/download.svg) ](https://bintray.com/devmagician/maven/colorpickerview/_latestVersion)
2524
[![Maven Central](https://img.shields.io/maven-central/v/com.github.skydoves/colorpickerview.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.skydoves%22%20AND%20a:%22colorpickerview%22)
2625
[![Jitpack](https://jitpack.io/v/skydoves/ColorPickerView.svg)](https://jitpack.io/#skydoves/ColorPickerView)
2726
### Gradle
2827
Add below codes to your **root** `build.gradle` file (not your module build.gradle file).
2928
```gradle
3029
allprojects {
3130
repositories {
32-
jcenter()
31+
mavenCentral()
3332
}
3433
}
3534
```
36-
And add below dependency code to your **module**'s `build.gradle` file.
35+
And add a dependency code to your **module**'s `build.gradle` file.
3736
```gradle
3837
dependencies {
3938
implementation "com.github.skydoves:colorpickerview:2.2.2"

app/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,4 @@ dependencies {
3838
implementation project(":colorpickerview")
3939
}
4040

41-
tasks.withType(Javadoc).all { enabled = false }
42-
4341
apply from: "$rootDir/spotless.gradle"

colorpickerview/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
apply plugin: 'com.android.library'
1616
apply plugin: 'kotlin-android'
17+
apply plugin: 'org.jetbrains.dokka'
1718
apply from: "$rootDir/dependencies.gradle"
1819

1920
android {
@@ -34,6 +35,5 @@ dependencies {
3435
implementation "androidx.appcompat:appcompat:$versions.androidxAppcompat"
3536
}
3637

37-
tasks.withType(Javadoc).all { enabled = false }
38-
38+
apply plugin: "com.vanniktech.maven.publish"
3939
apply from: "$rootDir/spotless.gradle"

0 commit comments

Comments
 (0)