https://github.com/lesmiscore/groovyroom
A Groovy code runner application for Android
https://github.com/lesmiscore/groovyroom
android-app groovy
Last synced: 29 days ago
JSON representation
A Groovy code runner application for Android
- Host: GitHub
- URL: https://github.com/lesmiscore/groovyroom
- Owner: Lesmiscore
- License: apache-2.0
- Created: 2017-05-14T10:49:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:55:12.000Z (over 2 years ago)
- Last Synced: 2025-01-24T23:16:08.702Z (over 1 year ago)
- Topics: android-app, groovy
- Language: Groovy
- Size: 146 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GroovyRoom
A Groovy code runner application for Android
## For watchers who wants to use this
- No binary is provided
- Please compile yourself
- This is not well-tested and adjusted for some devices
- This app may not work on your device
- Untrusted code could run on this app
- Running this with root permission requires more attention
- This is intended to be only used by me
- Some UIs may feel you bad
- May not be easy to use
- There's so many dirty code
- You may not understand my code
## Disable including optional libraries
### Patch
Patch the following:
```diff
diff --git a/app/build.gradle b/app/build.gradle
index de9cbfe..a9facda 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -39,7 +39,7 @@ android {
def groovyVersion='2.4.10'
def appCompatVersion='25.3.0'
-def includeOptionalLibs=true
+def includeOptionalLibs=false
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
```
### Do by hand
Change `includeOptionalLibs=true` to `includeOptionalLibs=false` in `app/build.gradle`
## Usage
Check the code at all, or compile and open it
## Compile
Change the current directory where this repo was cloned, and type the following on the shell: (Change `assembleDebug` if you need)
- On Windows, `gradlew.bat assembleDebug`
- On Linux, `./gradlew assembleDebug`
You'll see `app-debug.apk` at `(Repo Directory)/build/outputs/apk` (Please just ignore other files.)