Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : gradle | name : gradle | ||||
| version : 3.5.0 | version : '4.9' | ||||
| release : 7 | release : 8 | ||||
| source : | source : | ||||
| - https://services.gradle.org/distributions/gradle-3.5-src.zip : e8aa089873c333c42c68b912e08ad4061c54a4b8578f6036a0b2e6a9513f0e42 | - https://github.com/gradle/gradle/archive/v4.9.0.tar.gz : 773b014b64c1ee6992e94a9be5c8c66bc13b0d3c2eb47dcf11d00a1bf5d4a1a7 | ||||
| - https://github.com/gradle/gradle-completion/archive/v1.4.1.tar.gz : 5d77f0c739fe983cfa86078a615f43be9be0e3ce05a3a7b70cb813a1ebd1ceef | |||||
| license : Apache-2.0 | license : Apache-2.0 | ||||
| component : programming.java | component : programming.java | ||||
| summary : A powerful build system for the JVM | summary : A powerful build system for the JVM | ||||
| description: | | description: | | ||||
| Gradle is a build tool with a focus on build automation and support for multi-language development | Gradle is a build tool with a focus on build automation and support for multi-language development | ||||
| networking : yes | networking : yes | ||||
| builddeps : | builddeps : | ||||
| - openjdk-8 | - openjdk-8 | ||||
| - git | |||||
| rundeps : | rundeps : | ||||
| - openjdk-8 | - openjdk-8 | ||||
| environment: | | |||||
| export GRADLE_COMPLETION_VERSION="1.4.1" | |||||
| export HOME=$PWD/.home | |||||
| export JAVA_HOME=/usr/lib64/openjdk-8 | |||||
| export GRADLE_USER_HOME=$HOME/.gradle | |||||
| export M2_HOME=$HOME/.m2 | |||||
| build : | | build : | | ||||
| mkdir -p $HOME/.m2/conf | mkdir -p $HOME/.m2/conf | ||||
| echo "<settings>\n\t<localRepository>${HOME}/.m2/</localRepository>\n</settings>" > $HOME/.m2/conf/settings.xml | echo "<settings>\n\t<localRepository>${HOME}/.m2/</localRepository>\n</settings>" > $HOME/.m2/conf/settings.xml | ||||
| export GRADLE_USER_HOME=$HOME | |||||
| export M2_HOME=$HOME/.m2 | # prep gradle-completion files | ||||
| mkdir -p .gradle-completion | |||||
| tar xzf $sources/v$GRADLE_COMPLETION_VERSION.tar.gz --strip-components=1 -C .gradle-completion | |||||
| ./gradlew --no-daemon install -PfinalRelease=1 -Pgradle_installPath=$installdir/usr/share/gradle | ./gradlew --no-daemon install -PfinalRelease=1 -Pgradle_installPath=$installdir/usr/share/gradle | ||||
| install : | | install : | | ||||
| mkdir -p $installdir/usr/bin | |||||
| install -d $installdir/usr/bin | install -d $installdir/usr/bin | ||||
| ln -s /usr/share/gradle/bin/gradle $installdir/usr/bin/gradle | ln -s /usr/share/gradle/bin/gradle $installdir/usr/bin/gradle | ||||
| install -Dm644 $pkgfiles/gradle.desktop $installdir/usr/share/applications/gradle.desktop | install -m 00644 -D .gradle-completion/gradle-completion.bash $installdir/etc/bash_completion.d/gradle-completion.bash | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.