File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -39,4 +39,10 @@ sourceSets {
39
39
ant.importBuild(" buildLexer.xml" )
40
40
41
41
ant.properties[" builddir" ] = buildDir.absolutePath
42
- ant.properties[" flex.classpath" ] = jflexPath.asPath
42
+
43
+ tasks.findByName(" lexer" )!! .apply {
44
+ doFirst {
45
+ ant.properties[" flex.classpath" ] = jflexPath.asPath
46
+ }
47
+ }
48
+
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ dependencies {
34
34
val jar: Jar by tasks
35
35
jar.apply {
36
36
dependsOn(fatJarContents)
37
- from( compile.filter { it.extension == " jar" }.map { zipTree(it) })
38
- from( fatJarContents.map { zipTree(it) })
39
- from( fatJarContentsStripServices.map { zipTree(it) }) { exclude(" META-INF/services/**" ) }
40
- from( fatJarContentsStripMetadata.map { zipTree(it) }) { exclude(" META-INF/jb/** META-INF/LICENSE" ) }
37
+ from { compile.filter { it.extension == " jar" }.map { zipTree(it) } }
38
+ from { fatJarContents.map { zipTree(it) } }
39
+ from { fatJarContentsStripServices.map { zipTree(it).matching { exclude(" META-INF/services/**" ) } } }
40
+ from { fatJarContentsStripMetadata.map { zipTree(it).matching { exclude(" META-INF/jb/** META-INF/LICENSE" ) } } }
41
41
42
42
manifest.attributes[" Class-Path" ] = compilerManifestClassPath
43
43
manifest.attributes[" Main-Class" ] = " org.jetbrains.kotlin.cli.jvm.K2JVMCompiler"
You can’t perform that action at this time.
0 commit comments