Changeset 49d970c for build.gradle


Ignore:
Timestamp:
Nov 3, 2017 1:05:37 AM (3 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
3f4daede
Parents:
e34ab0b7
Message:

Fix compilation without bootstrap classpath set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.gradle

    re34ab0b7 r49d970c  
    2121
    2222    sourceCompatibility = 1.7
    23     // Set bootClasspath=/path/to/rt.jar:/path/to/jce.jar in gradle.properties if needed
    24 // Please check if you forgot to check in gradle.properties --zab
    25 //    if (bootClasspath) {
    26 //        tasks.withType(AbstractCompile, { AbstractCompile ac ->
    27 //            ac.options.bootstrapClasspath = files(bootClasspath)
    28 //        })
    29 //    }
     23    // Set i2pBootClasspath=/path/to/rt.jar:/path/to/jce.jar in ~/.gradle/gradle.properties if needed
     24    if (i2pBootClasspath) {
     25        tasks.withType(AbstractCompile, { AbstractCompile ac ->
     26            ac.options.bootstrapClasspath = files(i2pBootClasspath)
     27        })
     28    }
    3029}
    3130
Note: See TracChangeset for help on using the changeset viewer.