Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Restore java to build #19
Browse files Browse the repository at this point in the history
  • Loading branch information
ELynx committed Sep 8, 2016
1 parent 369dff4 commit 0af0fb7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 0 additions & 3 deletions app/src/main/assets/scripts/.gitignore

This file was deleted.

2 changes: 2 additions & 0 deletions app/src/main/java/com/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# generated protobuf files
github/
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// get protoc version 3 here https://github.com/google/protobuf/releases
// put protoc to root repo folder or change path

// get jruby.jar from here http://jruby.org/files/downloads/1.7.24/index.html
// install Ruboto core from here http://ruboto.org/downloads/

task pogoProtosWin(type: Exec){
workingDir './POGOProtos'
commandLine 'cmd', '/c', 'compile_pretty.py ruby -p ../protoc -o ../app/src/main/assets/scripts'
commandLine 'cmd', '/c', 'compile_pretty.py java -p ../protoc -o ../app/src/main/java'
}

task pogoProtosNix(type: Exec){
workingDir './POGOProtos'
commandLine './compile_pretty.py ruby -p ../protoc -o ../app/src/main/assets/scripts'
commandLine './compile_pretty.py java -p ../protoc -o ../app/src/main/java'
}

buildscript {
Expand Down

0 comments on commit 0af0fb7

Please sign in to comment.