Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpc for android #1

Merged
merged 11 commits into from
Feb 11, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reorganize dir structure
  • Loading branch information
jbpratt committed Feb 10, 2021
commit f35e6849409ba8b92a65fa5cf9f061985d11dbf5
16 changes: 16 additions & 0 deletions .github/workflows/android_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Android CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
.idea/
lib
**/build/
.gradle/
4 changes: 2 additions & 2 deletions android/rpc/app/build.gradle → android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

wire {
sourcePath {
srcDir '../../../proto'
srcDir '../proto'
}

kotlin {
Expand Down Expand Up @@ -56,4 +56,4 @@ dependencies {
testImplementation 'junit:junit:4.13.1'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
}
}
File renamed without changes.
15 changes: 0 additions & 15 deletions android/rpc/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion android/rpc/app/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions android/rpc/app/src/main/AndroidManifest.xml

This file was deleted.

7 changes: 7 additions & 0 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="gg.memelabs.protobuf.rpc">

<application android:allowBackup="true" />

</manifest>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions local.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file should *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=/home/jbpratt/Android/Sdk
2 changes: 1 addition & 1 deletion android/rpc/settings.gradle → settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
rootProject.name = "rpc"
include ':app'
include ':android'