mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-22 21:58:53 +01:00
Remove section about modifying build files in contributing.md.
This commit is contained in:
@@ -41,43 +41,5 @@ To update the wiki, simply navigate to the [wiki tab](https://github.com/octoshr
|
|||||||
6. Submit a pull request with your change.
|
6. Submit a pull request with your change.
|
||||||
**We have a build action on each pull request, if this build fails, please edit the pull request in order to make the build succeed.**
|
**We have a build action on each pull request, if this build fails, please edit the pull request in order to make the build succeed.**
|
||||||
## Helpful Tips
|
## Helpful Tips
|
||||||
### [build.gradle](https://github.com/octoshrimpy/quik/blob/master/presentation/build.gradle) configuration for building locally
|
|
||||||
```
|
|
||||||
|
|
||||||
/*
|
|
||||||
signingConfigs {
|
|
||||||
release {
|
|
||||||
def keystoreProps = new Properties()
|
|
||||||
def keystorePropsFile = rootProject.file('./.gradle/.gradlerc')
|
|
||||||
storeFile file('./my-release-key.keystore')
|
|
||||||
keyAlias 'quik_release'
|
|
||||||
if (keystorePropsFile.exists()) {
|
|
||||||
keystoreProps.load(new FileInputStream(keystorePropsFile))
|
|
||||||
} else if (System.getenv("CI") == "true") {
|
|
||||||
// do nothing
|
|
||||||
} else {
|
|
||||||
throw new GradleException("Keystore properties file not found.")
|
|
||||||
}
|
|
||||||
storePassword keystoreProps['storePassword']
|
|
||||||
keyPassword keystoreProps['keyPassword']
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
buildTypes {
|
|
||||||
release {
|
|
||||||
minifyEnabled true
|
|
||||||
shrinkResources true
|
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
||||||
// signingConfig signingConfigs.release
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
productFlavors {
|
|
||||||
withAnalytics { dimension "analytics" }
|
|
||||||
noAnalytics {
|
|
||||||
// signingConfig signingConfigs.release
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
### Set Java Version
|
### Set Java Version
|
||||||
When building QUIK, make sure to download JDK 17 and specify an installation path for it. In Android Studio, you can do that in Settings > Build, Execution, Deployment > Build Tools > Gradle.
|
When building QUIK, make sure to download JDK 17 and specify an installation path for it. In Android Studio, you can do that in Settings > Build, Execution, Deployment > Build Tools > Gradle.
|
||||||
|
|||||||
Reference in New Issue
Block a user