One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| package pntanasis.master_ex.android; | |
| import pntanasis.master_ex.android.Synthesizer.Note0; | |
| import android.app.Activity; | |
| import android.os.Bundle; | |
| public class AudioSynthesisDemoActivity extends Activity { | |
| /** Called when the activity is first created. */ | |
| @Override | |
| public void onCreate(Bundle savedInstanceState) { |
rebase vs merge).rebase vs merge)reset vs checkout vs revert)git rev-parse)pull vs fetch)stash vs branch)reset vs checkout vs revert)git reset vs git rm --cached)| <?xml version="1.0"?> | |
| <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Android Application Rules" | |
| xmlns="http://pmd.sf.net/ruleset/1.0.0" | |
| xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd" | |
| xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"> | |
| <description>Custom ruleset for Android application</description> | |
| <exclude-pattern>.*/R.java</exclude-pattern> |
| default: &defaults | |
| docker: | |
| - image: circleci/android:api-26-alpha | |
| working_directory: ~/repo | |
| environment: | |
| TERM: dumb | |
| # Customize the JVM maximuum heap limit | |
| _JAVA_OPTIONS: "-Xmx2048m -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap" | |
| GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m"' |
| # This file contains the fastlane.tools configuration | |
| # You can find the documentation at https://docs.fastlane.tools | |
| # | |
| # For a list of all available actions, check out | |
| # | |
| # https://docs.fastlane.tools/actions | |
| # | |
| # For a list of all available plugins, check out | |
| # | |
| # https://docs.fastlane.tools/plugins/available-plugins |
| # Remember to add your values here as plain text. No quotes required. | |
| keyAlias = your_project_key_alias | |
| keyPassword = your_key_alias_password | |
| storeFile = /path/to/your/.keystore # Example: /Users/thedancercodes/keystores/fastlane-droid.keystore | |
| storePassword = your_keystore_password |
| apply plugin: 'com.android.application' | |
| ... | |
| // Create a variable called keystorePropertiesFile, and initialize it to your | |
| // keystore.properties file, in the rootProject folder. | |
| def keystorePropertiesFile = rootProject.file("keystore.properties") | |
| // Initialize a new Properties() object called keystoreProperties. | |
| def keystoreProperties = new Properties() |
| apply plugin: "java" | |
| // Enable the JUnit platform through the test closure; | |
| // which has been providing the method useJUnitPlatform since the release of gradle 4.6 | |
| test { | |
| useJUnitPlatform { | |
| includeTags "slow" | |
| excludeEngines "my-engine" | |
| } | |
| } |
| desc "Build a signed release APK & deploy to slack" | |
| lane :slack_apk_build do | |
| gradle( | |
| task: "assemble", | |
| build_type: "Release", | |
| print_command: false, | |
| properties: { | |
| "android.injected.signing.store.file" => "keystore.jks", | |
| "android.injected.signing.store.password" => "store_password", | |
| "android.injected.signing.key.alias" => "key_alias", |