mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
Appflowy 0.8.1 => 0.8.2 Bun 1.1.45 => 1.2.0 Composer 2.8.4 => 2.8.5 Flutter 3.27.2 => 3.27.3 Gradle 8.11.1 => 8.12.1 Joplin 3.2.11 => 3.2.12 Nocodb 0.258.10 => 0.260.2 Package 1.11.2 => 1.12.0 Rqlite 8.36.6 => 8.36.8 Tauri_cli 2.2.4 => 2.2.5 Zed 0.169.2 => 0.170.2
23 lines
840 B
Ruby
23 lines
840 B
Ruby
require 'package'
|
|
|
|
class Gradle < Package
|
|
description 'From mobile apps to microservices, from small startups to big enterprises, Gradle helps teams build, automate and deliver better software, faster.'
|
|
homepage 'https://gradle.org/'
|
|
version '8.12.1'
|
|
license 'Apache-2.0'
|
|
compatibility 'all'
|
|
source_url "https://services.gradle.org/distributions/gradle-#{version}-bin.zip"
|
|
source_sha256 '8d97a97984f6cbd2b85fe4c60a743440a347544bf18818048e611f5288d46c94'
|
|
|
|
depends_on 'openjdk8' unless File.exist? "#{CREW_PREFIX}/bin/java"
|
|
|
|
no_compile_needed
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/gradle"
|
|
FileUtils.cp_r '.', "#{CREW_DEST_PREFIX}/share/gradle"
|
|
FileUtils.ln_s "#{CREW_PREFIX}/share/gradle/bin/gradle", "#{CREW_DEST_PREFIX}/bin"
|
|
end
|
|
end
|