Skip to content

Commit a358793

Browse files
committed
Remove jcenter publishing tasks and migrate to maven
1 parent 102c9f5 commit a358793

File tree

3 files changed

+41
-162
lines changed

3 files changed

+41
-162
lines changed

app/src/main/java/com/skydoves/colorpickerviewdemo/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class MainActivity extends AppCompatActivity {
5252
private boolean FLAG_SELECTOR = false;
5353

5454
private PowerMenu powerMenu;
55-
private OnMenuItemClickListener<PowerMenuItem> powerMenuItemClickListener =
55+
private final OnMenuItemClickListener<PowerMenuItem> powerMenuItemClickListener =
5656
new OnMenuItemClickListener<PowerMenuItem>() {
5757
@Override
5858
public void onItemClick(int position, PowerMenuItem item) {

gradle.properties

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Designed and developed by 2019 skydoves (Jaewoong Eum)
1+
#
2+
# Copyright 2017 skydoves (Jaewoong Eum)
23
#
34
# Licensed under the Apache License, Version 2.0 (the "License");
45
# you may not use this file except in compliance with the License.
@@ -11,19 +12,43 @@
1112
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1213
# See the License for the specific language governing permissions and
1314
# limitations under the License.
15+
#
16+
17+
# Jvm environments
18+
org.gradle.jvmargs=-Xmx4g
1419

15-
# Project-wide Gradle settings.
16-
# IDE (e.g. Android Studio) users:
17-
# Gradle settings configured through the IDE *will override*
18-
# any settings specified in this file.
19-
# For more details on how to configure your build environment visit
20-
# http://www.gradle.org/docs/current/userguide/build_environment.html
21-
# Specifies the JVM arguments used for the daemon process.
22-
# The setting is particularly useful for tweaking memory settings.
23-
android.enableJetifier=true
20+
# AndroidX
2421
android.useAndroidX=true
25-
org.gradle.jvmargs=-Xmx1536m
26-
# When configured, Gradle will run in incubating parallel mode.
27-
# This option should only be used with decoupled projects. More details, visit
28-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
29-
# org.gradle.parallel=true
22+
23+
# Required to publish to Nexus
24+
systemProp.org.gradle.internal.publish.checksums.insecure=true
25+
26+
# Increase timeout when pushing to Sonatype
27+
systemProp.org.gradle.internal.http.connectionTimeout=120000
28+
systemProp.org.gradle.internal.http.socketTimeout=120000
29+
30+
# Maven
31+
GROUP=com.github.skydoves
32+
POM_PACKAGING=aar
33+
34+
VERSION_NAME=2.2.3-SNAPSHOT
35+
36+
POM_ARTIFACT_ID=colorpickerview
37+
POM_NAME=colorpickerview
38+
POM_DESCRIPTION=Android colorpicker for getting colors from any images by tapping on the desired color.
39+
40+
POM_URL=https://github.com/skydoves/colorpickerview/
41+
POM_SCM_URL=https://github.com/skydoves/colorpickerview/
42+
POM_SCM_CONNECTION=scm:git:git://github.com/skydoves/colorpickerview.git
43+
POM_SCM_DEV_CONNECTION=scm:git:git://github.com/skydoves/colorpickerview.git
44+
45+
POM_LICENCE_NAME=The Apache Software License, Version 2.0
46+
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
47+
POM_LICENCE_DIST=repo
48+
49+
POM_DEVELOPER_ID=skydoves
50+
POM_DEVELOPER_NAME=Jaewoong Eum
51+
POM_DEVELOPER_URL=https://github.com/skydoves/
52+
53+
RELEASE_REPOSITORY_URL=https://oss.sonatype.org/service/local/staging/deploy/maven2/
54+
SNAPSHOT_REPOSITORY_URL=https://oss.sonatype.org/content/repositories/snapshots/

publish.gradle

Lines changed: 0 additions & 146 deletions
This file was deleted.

0 commit comments

Comments
 (0)