This repository was archived by the owner on Mar 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -30,3 +30,11 @@ compileKotlin {
30
30
jvmTarget = " $JVM_TARGET_VERSION "
31
31
}
32
32
}
33
+
34
+ jar {
35
+ from(
36
+ zipTree(sourceSets. main. compileClasspath. find {
37
+ it. absolutePath. contains(Paths . get(" arrow-kt" , " arrow-meta" ). toString())
38
+ })
39
+ )
40
+ }
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- buildscript {
18
- repositories {
19
- maven {
20
- url ' https://oss.sonatype.org/content/repositories/snapshots/'
21
- }
22
- }
23
- dependencies {
24
- classpath " io.arrow-kt:gradle-plugin:$ARROW_META_VERSION "
25
- }
26
- }
27
-
28
17
plugins {
29
18
id " org.jetbrains.kotlin.jvm"
30
19
}
31
20
32
- apply plugin : " io.arrow-kt.arrow"
33
-
34
- arrowMeta. plugins = [" ${ rootDir} /new-plugin/build/libs/new-plugin.jar" . toString()]
35
-
36
21
dependencies {
37
22
testImplementation " org.junit.jupiter:junit-jupiter:$JUNIT_VERSION "
38
23
}
39
24
40
25
compileKotlin {
41
26
kotlinOptions {
42
27
jvmTarget = " $JVM_TARGET_VERSION "
28
+ freeCompilerArgs + = [" -Xplugin=${ rootDir} /new-plugin/build/libs/new-plugin.jar" ,
29
+ " -P" , " plugin:arrow.meta.plugin.compiler:generatedSrcOutputDir=${ buildDir} " ]
43
30
}
44
31
}
45
32
You can’t perform that action at this time.
0 commit comments