Application Android et IOS pour l'amicale des élèves
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

install.sh 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/bin/bash
  2. echo "Creating debug android keystore..."
  3. cd android/app && keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000
  4. echo -e "Done\n"
  5. cd ..
  6. echo "Creating gradle.properties file..."
  7. echo "# Project-wide Gradle settings.
  8. # IDE (e.g. Android Studio) users:
  9. # Gradle settings configured through the IDE *will override*
  10. # any settings specified in this file.
  11. # For more details on how to configure your build environment visit
  12. # http://www.gradle.org/docs/current/userguide/build_environment.html
  13. # Specifies the JVM arguments used for the daemon process.
  14. # The setting is particularly useful for tweaking memory settings.
  15. # Default value: -Xmx10248m -XX:MaxPermSize=256m
  16. # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
  17. # When configured, Gradle will run in incubating parallel mode.
  18. # This option should only be used with decoupled projects. More details, visit
  19. # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
  20. # org.gradle.parallel=true
  21. # AndroidX package structure to make it clearer which packages are bundled with the
  22. # Android operating system, and which are packaged with your app's APK
  23. # https://developer.android.com/topic/libraries/support-library/androidx-rn
  24. android.useAndroidX=true
  25. # Automatically convert third-party libraries to use AndroidX
  26. android.enableJetifier=true
  27. # Version of flipper SDK to use with React Native
  28. FLIPPER_VERSION=0.37.0
  29. # This file is not included in git because it may contain secrets concerning the release key.
  30. # To get those secrets, please contact the author at vergnet@etud.insa-toulouse.fr
  31. " > gradle.properties
  32. echo -e "Done\n"
  33. cd ..
  34. ./clear-node-cache.sh