File tree Expand file tree Collapse file tree 2 files changed +39
-2
lines changed Expand file tree Collapse file tree 2 files changed +39
-2
lines changed Original file line number Diff line number Diff line change @@ -57,3 +57,34 @@ dependencies {
5757 androidTestImplementation ' androidx.test.ext:junit:1.1.1'
5858 androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0'
5959}
60+
61+ ext {
62+ bintrayRepo = ' maven'
63+ bintrayName = ' colorpicker'
64+
65+ publishedGroupId = ' com.github.dhaval2404'
66+ libraryName = ' colorpicker'
67+ artifact = ' colorpicker'
68+
69+ libraryDescription = ' A ColorPicker library for android.'
70+
71+ siteUrl = ' https://github.com/Dhaval2404/ColorPicker/'
72+ gitUrl = ' https://github.com/Dhaval2404/ColorPicker.git'
73+
74+ libraryVersion = ' 1.0'
75+ // If you are uploading new library try : gradlew install
76+ // If you are updating existing library then execute: gradlew bintrayUpload
77+ // In both the case don't forgot to put bintray credentials in local.properties file.
78+
79+ developerId = ' dhaval2404'
80+ developerName = ' Dhaval Patel'
81+ developerEmail
= ' [email protected] ' 82+
83+ licenseName = ' The Apache Software License, Version 2.0'
84+ licenseUrl = ' http://www.apache.org/licenses/LICENSE-2.0.txt'
85+ allLicenses = [" Apache-2.0" ]
86+ }
87+
88+ // Place it at the end of the file
89+ apply from : ' https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
90+ apply from : ' https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
Original file line number Diff line number Diff line change @@ -9,8 +9,10 @@ buildscript {
99 dependencies {
1010 classpath ' com.android.tools.build:gradle:3.5.3'
1111 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
12- // NOTE: Do not place your application dependencies here; they belong
13- // in the individual module build.gradle files
12+
13+ // jcenter plugins
14+ classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
15+ classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1'
1416 }
1517}
1618
@@ -19,6 +21,10 @@ allprojects {
1921 google()
2022 jcenter()
2123 }
24+ // Avoid Kotlin docs error
25+ tasks. withType(Javadoc ) {
26+ enabled = false
27+ }
2228}
2329
2430task clean (type : Delete ) {
You can’t perform that action at this time.
0 commit comments