Changeset 3eef793b for build.gradle


Ignore:
Timestamp:
Oct 31, 2017 8:35:04 AM (2 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
7662974
Parents:
db17aa0
Message:

Add bootstrap classpath JARs if necessary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.gradle

    rdb17aa0 r3eef793b  
    1212    }
    1313
    14     sourceCompatibility = 1.7
    1514    jar {
    1615        manifest {
     
    1817        }
    1918    }
     19
     20    sourceCompatibility = 1.7
     21    // Set bootClasspath=/path/to/rt.jar:/path/to/jce.jar in gradle.properties if needed
     22    if (bootClasspath) {
     23        tasks.withType(AbstractCompile, { AbstractCompile ac ->
     24            ac.options.bootstrapClasspath = files(bootClasspath)
     25        })
     26    }
    2027}
    2128
Note: See TracChangeset for help on using the changeset viewer.