build.gradle~ 374 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
def process_environment = System.getenv()

task print {

     	  if (Os.isFamily(Os.FAMILY_WINDOWS))
    {
       println process_environment['LIBRARY_PATH']
    }

    if (Os.isFamily(Os.FAMILY_MAC))
    {
       println process_environment['DYLD_LIBRARY_PATH']
    }

    if (Os.isFamily(Os.FAMILY_UNIX))
    {
       println process_environment['LD_LIBRARY_PATH']
    }
}