This file contains hidden or 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
# Install from https://github.com/felipec/git-completion/ | |
# git-completion | |
autoload -U compinit && compinit | |
zmodload -i zsh/complist | |
GIT_PS1_SHOWCOLORHINTS=1 | |
GIT_COMPLETION_CHECKOUT_NO_GUESS=1 | |
GIT_COMPLETION_SHOW_ALL=1 | |
fpath=(~/.local/share/git-completion/zsh $fpath) |
This file contains hidden or 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
internal fun Modifier.coloredShadow( | |
color: Color = Color.Black, | |
borderRadius: Dp = 0.dp, | |
blurRadius: Dp = 0.dp, | |
offsetY: Dp = 0.dp, | |
offsetX: Dp = 0.dp, | |
spread: Float = 0f, | |
modifier: Modifier = Modifier, | |
) = this.then( | |
modifier.drawBehind { |
This file contains hidden or 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
### Place this file under directory fastlane/Fastfile | |
### PR Android | |
### | |
desc "Pull Request verification" | |
lane :pull_request_verification do | |
gradle(project_dir: ".", task: "clean lintDebug test") | |
end |
This file contains hidden or 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
/** | |
* Publish Android Kotlin Library Helper | |
* | |
* This Gradle script is based on https://gist.github.com/Robyer/a6578e60127418b380ca133a1291f017. | |
* The difference is that: | |
* 1. It uses Dokka for generating Kotlin Javadoc. | |
* 2. It uses Jfrog's plugin for publishing to Bintray. If you don't want to publish to Bintray, simply remove all the Bintray-related code. | |
* | |
* NOTE: You need to add Dokka and Bintray to your classpath for the two plugins to work. | |
* Update the buildscript in your project's build.gradle with the following: |
This file contains hidden or 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
apply plugin: 'shot' | |
/* | |
Put this on any module you want to test with snapshots: | |
apply from: "../screenshots.gradle" | |
Put this on your root build.gradle | |
buildscript { | |
repositories { | |
google() | |
jcenter() |
This file contains hidden or 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
/** | |
* Publish Local Helper | |
* | |
* @Author Robert Pösel | |
* @Version 1.4* @Date 24.4.2019 | |
* https://gist.github.com/Robyer/a6578e60127418b380ca133a1291f017 | |
*/ | |
apply plugin: 'maven-publish' |
This file contains hidden or 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
--- | |
format_version: 1.4.0 | |
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
workflows: | |
ci: | |
steps: | |
- [email protected]: | |
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' | |
- [email protected]: {} |
This file contains hidden or 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
apply from: "$project.rootDir/static-analysis/config.gradle" | |
configurations { | |
detekt | |
} | |
task detekt(type: JavaExec) { | |
main = "io.gitlab.arturbosch.detekt.cli.Main" | |
classpath = configurations.detekt | |
def input = "$projectDir" |
This file contains hidden or 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
git init | |
git remote add origin $REPO_URL | |
//or change the url with | |
git remote set-url origin $REPO_URL | |
git add . | |
git commit -m "Initial commit" | |
git push -f origin master |
This file contains hidden or 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
export ANDROID_SDK=/Users/hernand/Library/Android/sdk | |
export ANDROID_NDK=/Users/hernand/Library/Android/sdk/ndk-bundle | |
export PATH="$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools:$ANDROID_NDK" | |
# Autocomplete | |
#if [ -f /usr/local/git/contrib/completion/git-completion.bash ]; then | |
# . /usr/local/git/contrib/completion/git-completion.bash | |
#fi | |
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh" |
NewerOlder