Changeset 46a3421 for core/build.gradle


Ignore:
Timestamp:
Dec 9, 2017 12:42:52 PM (3 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
cd51c9b3
Parents:
5786560
Message:

Don't compile ScalaTests? on Java 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/build.gradle

    r5786560 r46a3421  
    3232            include 'net/i2p/crypto/eddsa/math/basePrecmp'
    3333        }
    34         scala {
    35             srcDir 'java/test/scalatest'
    36         }
    3734    }
    3835}
     
    4744
    4845if (JavaVersion.current() != JavaVersion.VERSION_1_7) {
     46    sourceSets {
     47        test {
     48            scala {
     49                srcDir 'java/test/scalatest'
     50            }
     51        }
     52    }
    4953    task scalaTest(dependsOn: ['testClasses'], type: JavaExec) {
    5054        main = 'org.scalatest.tools.Runner'
Note: See TracChangeset for help on using the changeset viewer.