|
1 |
| -package edu.cornell.cs.apl.nativetools |
2 |
| - |
3 |
| -import edu.cornell.cs.apl.nativetools.templates.LibraryConstants |
4 |
| -import edu.cornell.cs.apl.nativetools.templates.Platform |
5 |
| -import edu.cornell.cs.apl.nativetools.templates.buildMakefile |
6 |
| -import edu.cornell.cs.apl.nativetools.templates.cmakeLists |
7 |
| -import edu.cornell.cs.apl.nativetools.templates.dependenciesMakefile |
8 |
| -import edu.cornell.cs.apl.nativetools.templates.dockerignore |
9 |
| -import edu.cornell.cs.apl.nativetools.templates.getMakefile |
10 |
| -import edu.cornell.cs.apl.nativetools.templates.linuxDockerfile |
11 |
| -import edu.cornell.cs.apl.nativetools.templates.macosDockerfile |
12 |
| -import edu.cornell.cs.apl.nativetools.templates.swigDockerfile |
13 |
| -import edu.cornell.cs.apl.nativetools.templates.swigMakefile |
| 1 | +package io.github.apl_cornell.nativetools |
| 2 | + |
| 3 | +import io.github.apl_cornell.nativetools.templates.LibraryConstants |
| 4 | +import io.github.apl_cornell.nativetools.templates.Platform |
| 5 | +import io.github.apl_cornell.nativetools.templates.buildMakefile |
| 6 | +import io.github.apl_cornell.nativetools.templates.cmakeLists |
| 7 | +import io.github.apl_cornell.nativetools.templates.dependenciesMakefile |
| 8 | +import io.github.apl_cornell.nativetools.templates.dockerignore |
| 9 | +import io.github.apl_cornell.nativetools.templates.getMakefile |
| 10 | +import io.github.apl_cornell.nativetools.templates.linuxDockerfile |
| 11 | +import io.github.apl_cornell.nativetools.templates.macosDockerfile |
| 12 | +import io.github.apl_cornell.nativetools.templates.swigDockerfile |
| 13 | +import io.github.apl_cornell.nativetools.templates.swigMakefile |
14 | 14 | import org.gradle.api.DefaultTask
|
15 | 15 | import org.gradle.api.file.Directory
|
16 | 16 | import org.gradle.api.file.DirectoryProperty
|
@@ -119,7 +119,7 @@ abstract class CollectLibraryTask : DefaultTask() {
|
119 | 119 | return
|
120 | 120 | val file = this.get().file(resource).asFile
|
121 | 121 | project.mkdir(file.parentFile)
|
122 |
| - file.writeBytes(resourceURL.readBytes()) |
| 122 | + file.writeBytes(resourceURL!!.readBytes()) |
123 | 123 | }
|
124 | 124 |
|
125 | 125 | /** Copies [file] into this directory and renames it to [name]. */
|
|
0 commit comments