This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static int manipulateColor(int color, float rFactor, float gFactor, float bFactor) { | |
int a = Color.alpha(color); | |
int r = Math.round(Color.red(color) * rFactor); | |
int g = Math.round(Color.green(color) * gFactor); | |
int b = Math.round(Color.blue(color) * bFactor); | |
return Color.argb(a, | |
Math.min(r, 255), | |
Math.min(g, 255), | |
Math.min(b, 255)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uploadArchives { | |
repositories { | |
// mavenLocal config | |
mavenDeployer { | |
repository(url: mavenLocal().url) | |
pom.groupId = rootProject.group | |
pom.artifactId = project.name | |
pom.version = rootProject.version | |
} | |
if (publishToNexus) { |