Skip to content

Commit

Permalink
update gradle version to 8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
capsulecorplab committed May 3, 2024
1 parent f22ae6d commit 075d339
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Binary file removed install_files/gradle-8.1.1-bin.zip.partab
Binary file not shown.
Binary file removed install_files/gradle-8.1.1-bin.zip.partac
Binary file not shown.
Binary file not shown.
Binary file added install_files/gradle-8.7.0.zip.partab
Binary file not shown.
11 changes: 6 additions & 5 deletions playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
keychain_version: "2.8.5"
keychain_version_to_install: "{{ keychain_version }}-1"
keychain_version_expected: "{{ keychain_version }}.."
gradle_version: "8.7.0"

tasks:
- name: Add git PPA
Expand Down Expand Up @@ -228,23 +229,23 @@
src: /home/kasm-default-profile/install_files/.gitconfig
dest: /home/kasm-default-profile/.gitconfig
remote_src: yes
- name: Join gradle v8.1.1 zip file from split files
shell: cat /home/kasm-default-profile/install_files/gradle-8.1.1-bin.zip.parta* > /home/kasm-default-profile/install_files/gradle-8.1.1-bin.zip
- name: Join gradle v{{ gradle_version }} zip file from split files
shell: cat /home/kasm-default-profile/install_files/gradle-{{ gradle_version }}.zip.parta* > /home/kasm-default-profile/install_files/gradle-{{ gradle_version }}.zip
- name: Create gradle directory
file:
path: /opt/gradle
state: directory
mode: '0755'
- name: Unzip gradle binary
unarchive:
src: /home/kasm-default-profile/install_files/gradle-8.1.1-bin.zip
src: /home/kasm-default-profile/install_files/gradle-{{ gradle_version }}.zip
dest: /opt/gradle/
remote_src: yes
creates: /opt/gradle/gradle-8.1.1/LICENSE
creates: /opt/gradle/gradle-{{ gradle_version }}/LICENSE
- name: add gradle to PATH
lineinfile:
path: "/etc/skel/.profile"
line: 'PATH=$PATH:/opt/gradle/gradle-8.1.1/bin'
line: 'PATH=$PATH:/opt/gradle/gradle-{{ gradle_version }}/bin'

-
# install Python packages with pip
Expand Down

0 comments on commit 075d339

Please sign in to comment.