File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ buildscript {
88 }
99 }
1010 dependencies {
11- classpath(group = " edu.wpi.first.wpilib.opencv" , name = " opencv-installer" , version = " 2.0.0 " )
11+ classpath(group = " edu.wpi.first.wpilib.opencv" , name = " opencv-installer" , version = " 2.0.1 " )
1212 classpath(" com.netflix.nebula:gradle-aggregate-javadocs-plugin:2.2.+" )
1313
1414 }
Original file line number Diff line number Diff line change @@ -164,8 +164,8 @@ tasks.register("testSharedLib") {
164164}
165165
166166if (project.hasProperty(" generation" ) || project.hasProperty(" genonly" )) {
167- val platform = Installer .getPlatform( )
168- val jniLocation: String = project.properties.getOrDefault(" jniLocation" , platform.defaultJniLocation() ).toString()
167+ val defaultLocation = buildDir.resolve( " opencv-jni " )
168+ val jniLocation: String = project.properties.getOrDefault(" jniLocation" , defaultLocation ).toString()
169169 val jniPath = File (jniLocation).absolutePath
170170
171171 val installOpenCV = tasks.register(" installOpenCV" ) {
You can’t perform that action at this time.
0 commit comments