Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : gradle | name : gradle | ||||
| version : 6.8.3 | version : 7.0.0 | ||||
| release : 21 | release : 22 | ||||
| source : | source : | ||||
| - git|https://github.com/gradle/gradle.git : v6.8.3 | - git|https://github.com/gradle/gradle.git : v7.0.0 | ||||
| - git|https://github.com/gradle/gradle-completion.git : 5c863bf6e6702bb763051d2bc74220bf9e922f4c | - git|https://github.com/gradle/gradle-completion.git : 5c863bf6e6702bb763051d2bc74220bf9e922f4c | ||||
| license : Apache-2.0 | license : Apache-2.0 | ||||
| component : programming.java | component : programming.java | ||||
| homepage : https://gradle.org/ | homepage : https://gradle.org/ | ||||
| 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. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites. Gradle has been designed to support build automation across multiple languages and platforms including Java, Scala, Android, C/C++, and Groovy, and is closely integrated with development tools and continuous integration servers including Eclipse, IntelliJ, and Jenkins. | Gradle is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites. Gradle has been designed to support build automation across multiple languages and platforms including Java, Kotlin, Android, Scala, C/C++, and Groovy, and is closely integrated with development tools and continuous integration servers including Eclipse, IntelliJ, and Jenkins. | ||||
| networking : yes | networking : yes | ||||
| builddeps : | builddeps : | ||||
| - gradle | - openjdk-11 | ||||
| rundeps : | rundeps : | ||||
| - openjdk-11 | - openjdk-11 | ||||
| setup : | | setup : | | ||||
| # patch completion files | # patch completion files | ||||
| cp -r $sources/gradle-completion.git $workdir | cp -r $sources/gradle-completion.git $workdir | ||||
| cd gradle-completion.git | cd gradle-completion.git | ||||
| %patch -p1 < $pkgfiles/ensure-java-home-is-set-for-completion.patch | %patch -p1 < $pkgfiles/ensure-java-home-is-set-for-completion.patch | ||||
| %patch -p1 < $pkgfiles/use-gradle-user-home-for-completion-if-set.patch | %patch -p1 < $pkgfiles/use-gradle-user-home-for-completion-if-set.patch | ||||
| build : | | build : | | ||||
| export GRADLE_USER_HOME="$workdir/.gradle_home" | export GRADLE_USER_HOME="$workdir/.gradle_home" | ||||
| export JAVA_HOME="/usr/lib64/openjdk-11" | |||||
| gradle install \ | ./gradlew install \ | ||||
| --no-daemon \ | --no-daemon \ | ||||
| --no-build-cache \ | --no-build-cache \ | ||||
| --parallel \ | --parallel \ | ||||
| --stacktrace \ | --stacktrace \ | ||||
| -PfinalRelease=1 \ | -PfinalRelease=1 \ | ||||
| -Pgradle_installPath=$installdir/usr/share/gradle | -Pgradle_installPath=$installdir/usr/share/gradle | ||||
| install : | | install : | | ||||
| rm $installdir/usr/share/gradle/{LICENSE,NOTICE,README,bin/*.bat} | rm $installdir/usr/share/gradle/{LICENSE,NOTICE,README,bin/*.bat} | ||||
| rm -rf $installdir/usr/share/gradle/init.d/ | rm -rf $installdir/usr/share/gradle/init.d/ | ||||
| sed -i "2r $pkgfiles/java-shim.txt" $installdir/usr/share/gradle/bin/gradle | sed -i "2r $pkgfiles/java-shim.txt" $installdir/usr/share/gradle/bin/gradle | ||||
| install -dm 00755 $installdir/usr/bin/ | install -dm 00755 $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 -Dm 00644 gradle-completion.git/gradle-completion.bash $installdir/usr/share/bash-completion/completions/gradle | install -Dm 00644 gradle-completion.git/gradle-completion.bash $installdir/usr/share/bash-completion/completions/gradle | ||||
| install -Dm 00644 gradle-completion.git/_gradle -t $installdir/usr/share/zsh/site-functions/ | install -Dm 00644 gradle-completion.git/_gradle -t $installdir/usr/share/zsh/site-functions/ | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.