Skip to content

Commit 9115145

Browse files
committed
v1.0 release
Bintray setup and v1.0 release
1 parent 2c08213 commit 9115145

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed

app/build.gradle

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff 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'

build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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

2430
task clean(type: Delete) {

0 commit comments

Comments
 (0)