Skip to content

Commit

Permalink
Include the full app code from now on
Browse files Browse the repository at this point in the history
  • Loading branch information
champo committed Feb 1, 2021
1 parent 8f1e210 commit 71e044c
Show file tree
Hide file tree
Showing 1,575 changed files with 60,003 additions and 15 deletions.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -12,7 +12,7 @@ The app follows the [clean](https://fernandocejas.com/2014/09/03/architecting-an
* **Domain:** contains the models and business logic (use cases in clean architecture lingo).
* **Presentation:** contains the UI code.

There's also a pure java **common** module with code shared all over. This repository contains all but the presentation layer.
There's also a pure java **common** module with code shared all over.

### LibWallet

Expand All @@ -39,6 +39,10 @@ GO111MODULE=off go run golang.org/x/mobile/cmd/gomobile bind -target=android -o
* All the business logic that decides when to sign what happens in the **domain** layer.
* The **presentation** layer only depends on the **domain** layer, it never references **data** directly.

## Veryfing our builds

Our builds are not reproducible yet! Stay tuned.

## Responsible Disclosure

Send us an email to report any security related bugs or vulnerabilities at [security@muun.com](mailto:security@muun.com).
Expand Down
File renamed without changes.
19 changes: 8 additions & 11 deletions apollo/build.gradle → android/apollo/build.gradle
@@ -1,14 +1,3 @@
buildscript {

repositories {
google()
}

dependencies { // Add third party gradle plugins
classpath 'com.squareup.sqldelight:gradle-plugin:0.9.0'
}
}

repositories {
flatDir {
dirs "${project.projectDir}/libs"
Expand All @@ -19,6 +8,14 @@ apply plugin: 'com.android.library'
apply plugin: 'com.squareup.sqldelight'
apply plugin: 'kotlin-android'

apply from: "${project.rootDir}/linters/checkstyle/check-android.gradle"
apply from: "${project.rootDir}/linters/pmd/check-android.gradle"

// spotbugs is kinda broken for android projects
// it doesnt recognize what it has to check from android settings and needs a lot of hacking to work
// https://github.com/spotbugs/spotbugs-gradle-plugin/issues/90
//apply from: "${project.rootDir}/linters/findbugs/check-android.gradle"

/**
* Returns the ip of the local network specified by the TESTING_LOCAL_NETWORK env var.
*/
Expand Down
File renamed without changes.
@@ -0,0 +1,25 @@
package io.muun.apollo.lib;

import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.assertEquals;

/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
final Context appContext = InstrumentationRegistry.getTargetContext();

assertEquals("io.muun.apollo.lib.test", appContext.getPackageName());
}
}
File renamed without changes.
File renamed without changes.

0 comments on commit 71e044c

Please sign in to comment.