File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,11 +14,29 @@ Home page: http://kegbot.org/
1414Developers: Quick Setup Instructions
1515------------------------------------
1616
17- Bear with us as better develop documentation is coming!
18-
19- In the meantime, here are quick and dirty steps:
20-
21- - Clone the kegbot-android repo
17+ ### Prerequisites
18+
19+ - Java 17 or higher (required for Android Gradle Plugin 8.x)
20+ - Android SDK
21+ - Android Studio or compatible IDE
22+
23+ ### Setup Steps
24+
25+ 1 . Clone the kegbot-android repo
26+ 2 . Copy ` local.properties.template ` to ` local.properties `
27+ 3 . Edit ` local.properties ` to set your Android SDK path:
28+ ```
29+ sdk.dir=/path/to/your/android/sdk
30+ ```
31+ 4 . Set up Java 17:
32+ - ** Option A** : Set ` JAVA_HOME ` environment variable to your Java 17 installation
33+ - ** Option B** : Add ` org.gradle.java.home=/path/to/your/java17 ` to ` local.properties `
34+ 5 . Build the project:
35+ ``` bash
36+ ./gradlew build
37+ ```
38+
39+ ### For Eclipse Users (Legacy)
2240- Eclipse: Import -> Existing Projects into Workspace.
2341- Import the projects (Kegtab, KegtabTest)
2442
@@ -39,4 +57,3 @@ LICENSE.txt for the full license.
3957
4058The Kegbot name and logo are trademarks of the Kegbot project; please don't
4159reuse them without our permission.
42-
Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ android.enableJetifier=true
22android.useAndroidX =true
33
44# Set Gradle to use Java 17 for Android Gradle Plugin 8.x compatibility
5- org.gradle.java.home =/Users/rplankenhorn/.local/share/mise/installs/java/zulu-17.46.19.0/zulu-17.jdk/Contents/Home
5+ # Configure JAVA_HOME environment variable or set org.gradle.java.home in your local gradle.properties
6+ # Example: org.gradle.java.home=/path/to/your/java17/installation
Original file line number Diff line number Diff line change 1+ ## This file must *NOT* be checked into Version Control Systems,
2+ # as it contains information specific to your local configuration.
3+ #
4+ # Location of the Android SDK. This is only used by Gradle.
5+ # For customization when using a Version Control System, please read the
6+ # header note.
7+ sdk.dir=/path/to/your/android/sdk
8+
9+ # Optional: Set Java home for Gradle (if not using JAVA_HOME environment variable)
10+ # This should point to a Java 17+ installation for Android Gradle Plugin 8.x compatibility
11+ # org.gradle.java.home=/path/to/your/java17/installation
You can’t perform that action at this time.
0 commit comments