74e18eaff855caea05f47a72b9607dcb019ea2dc
build.gradle
| ... | ... | @@ -15,12 +15,12 @@ buildscript { |
| 15 | 15 | dependencies { |
| 16 | 16 | classpath 'com.android.tools.build:gradle:3.6.4' |
| 17 | 17 | classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.3" |
| 18 | - classpath "org.ajoberstar:grgit:2.3.0" |
|
| 18 | + classpath "org.ajoberstar:grgit:5.0.0" |
|
| 19 | 19 | } |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | plugins { |
| 23 | - id 'org.ajoberstar.grgit' version '2.3.0' |
|
| 23 | + id 'org.ajoberstar.grgit' version '5.0.0' |
|
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | allprojects { |
java/com.amazon.aws.aws-java-api/createLocalAwsApiP2Repository.sh
| ... | ... | @@ -25,7 +25,7 @@ echo "Creating .project file from dot_project template to allow for Eclipse work |
| 25 | 25 | cp dot_project .project |
| 26 | 26 | echo "Downloading libraries..." |
| 27 | 27 | rm -rf ${LIB}/* |
| 28 | -${WORKSPACE}/gradlew downloadLibs |
|
| 28 | +JAVA_HOME=${JAVA8_HOME} ${WORKSPACE}/gradlew downloadLibs |
|
| 29 | 29 | cd ${LIB} |
| 30 | 30 | VERSION=`ls -1 aws-core-*.jar | grep -v -- -sources | sed -e 's/aws-core-\([.0-9]*\)\.jar/\1/' | sort | tail -n 1` |
| 31 | 31 | echo VERSION=${VERSION} |
wiki/howto/onboarding.md
| ... | ... | @@ -43,9 +43,9 @@ First of all, make sure you've looked at [http://www.amazon.de/Patterns-Elements |
| 43 | 43 | |
| 44 | 44 | ### Installations |
| 45 | 45 | |
| 46 | -1. JDK >= 11, it is required by Eclipse and therefore should be referenced in the environment variable `JAVA_HOME`. As an alternative to the environment variable Eclipse can be configured to use a different version of Java see [here](https://stackoverflow.com/questions/18469170/how-to-run-eclipse-with-different-java-version) for further instructions. |
|
| 46 | +1. JDK >= 11. No longer required by Eclipse because new Eclipse releases bring their own JDK bundled with the installer. Still, if you want to use Java 11 or Java 17, install any such JDK and set the `JAVA_HOME` variable to it. |
|
| 47 | 47 | 2. Eclipse IDE for Eclipse Committers, version 4.24.0 ["2022-06"](https://www.eclipse.org/downloads/packages/release/2022-06/r/eclipse-ide-eclipse-committers) |
| 48 | -3. JDK 1.8 (Java SE 8), ideal is the SAPJVM 1.8: Go to [https://tools.eu1.hana.ondemand.com/#cloud](https://tools.eu1.hana.ondemand.com/#cloud), scroll down to `SAP JVM` select your operating System, extract the downloaded .zip into desired location (e.g. Windows `C:\Program Files\Java` |
|
| 48 | +3. JDK 1.8 (Java SE 8), ideal is the SAPJVM 1.8: Go to [https://tools.eu1.hana.ondemand.com/#cloud](https://tools.eu1.hana.ondemand.com/#cloud), scroll down to `SAP JVM` select your operating System, extract the downloaded .zip into desired location (e.g. Windows `C:\Program Files\Java`. If you want to make this your default JDK, set the `JAVA_HOME` variable to it. In any case, set the `JAVA8_HOME` variable to it which is required by a few build scripts where certain steps currently are not yet compatible with newer JDK releases, such as our Android build process, keeping us on Gradle 6.0.1 for the time being which isn't Java 17-compatible. |
|
| 49 | 49 | 4. Git (e.g. Git for Windows v2.18), [http://git-scm.com](http://git-scm.com) / [https://git-for-windows.github.io](https://git-for-windows.github.io) |
| 50 | 50 | 5. Configure git (see [Git repository configuration essentials](#onboarding-information_sap-sailing-analytics-development-setup_git-repository-configuration-essentials)) |
| 51 | 51 | 6. MongoDB (at least Release 4.4), download: [https://www.mongodb.com/](https://www.mongodb.com/) |