Skip to content

Commit

Permalink
Updated icons in use.
Browse files Browse the repository at this point in the history
  • Loading branch information
aanorbel committed Feb 8, 2024
1 parent ed1495c commit 4f2ab42
Show file tree
Hide file tree
Showing 83 changed files with 720 additions and 5,974 deletions.
15 changes: 0 additions & 15 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -185,18 +185,3 @@ if (!getGradle().getStartParameter().getTaskRequests()
.toString().contains("Fdroid")){
apply plugin: 'com.google.gms.google-services'
}


/**
* The following code is used to add the OONI Run V2 icons to the project.
* This is a workaround to avoid having to manually copy the icons to the
* project. The script is run before the preBuild task, which means that
* the icons will be copied before the build starts.
*/
task addOONIRunV2Icons(type: Exec) {
commandLine 'sh', 'mkdir' , '-p' , rootProject.buildDir
commandLine 'sh', "../scripts/prepare_icons.sh", "${rootProject.buildDir}" , "${rootProject.projectDir}/app/src/main/res/drawable"
}

// Make preBuild depend on addOONIRunV2Icons
preBuild.dependsOn addOONIRunV2Icons
Loading

0 comments on commit 4f2ab42

Please sign in to comment.