Skip to content

Instantly share code, notes, and snippets.

@pcevikogullari
Last active January 19, 2023 22:48
Show Gist options
  • Save pcevikogullari/d3aa7f56a653227047d4803ab70de54c to your computer and use it in GitHub Desktop.
Save pcevikogullari/d3aa7f56a653227047d4803ab70de54c to your computer and use it in GitHub Desktop.
(Raycast) Add confetti after build is done
buildscript {
ext {
compose_version = '1.1.1'
}
dependencies {
classpath 'com.google.gms:google-services:4.3.14'
}
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.3.0' apply false
id 'com.android.library' version '7.3.0' apply false
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
id 'com.google.dagger.hilt.android' version '2.44' apply false
}
/*
* This part is added
* to run command line
*
*/
gradle.buildFinished { buildResult ->
exec {
executable './confetti_shortcut.sh'
}
}
1) Install Raycast from https://www.raycast.com/
2) Add confettin_shortcut.sh
3) Run "chmod +x confetti_shortcut.sh" in Terminal
4) Add the above gradle task for commandline in 'build.gradle (project-level)' after plugins part.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment