ENV: move java_cache to compat for future hard deprecation

This commit is contained in:
Dominyk Tiller 2017-08-31 00:09:14 +01:00
parent db1054be7b
commit 0cb6307f2d
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6
2 changed files with 4 additions and 4 deletions

View File

@ -3,4 +3,8 @@ module SharedEnvExtension
odeprecated "ENV.j1", "ENV.deparallelize"
deparallelize
end
def java_cache
# odeprecated "ENV.java_cache"
end
end

View File

@ -260,10 +260,6 @@ module SharedEnvExtension
set_cpu_flags(flags)
end
def java_cache
append "_JAVA_OPTIONS", "-Duser.home=#{HOMEBREW_CACHE}/java_cache"
end
# ld64 is a newer linker provided for Xcode 2.5
# @private
def ld64