Provide values using ServiceLoader instead of MANIFEST.MF

This commit is contained in:
Yan Zhulanow
2014-10-22 17:46:02 +04:00
parent e0f1a56b28
commit a2032e60a7
4 changed files with 4 additions and 7 deletions
+2 -1
View File
@@ -648,9 +648,10 @@
</classpath>
</javac2>
<jar manifest="${basedir}/plugins/android-compiler-plugin/src/META-INF/MANIFEST.MF" destfile="${kotlin-home}/lib/android-compiler-plugin.jar">
<jar destfile="${kotlin-home}/lib/android-compiler-plugin.jar">
<fileset dir="${output}/classes/android-compiler-plugin"/>
<zipfileset file="${kotlin-home}/build.txt" prefix="META-INF"/>
<fileset dir="${basedir}/plugins/android-compiler-plugin/src" includes="META-INF/services/**"/>
</jar>
</target>
@@ -1,6 +0,0 @@
Manifest-Version: 1.0
Implementation-Vendor: JetBrains
Name: org.jetbrains.kotlin.compiler.plugin
CommandLineProcessor: org.jetbrains.kotlin.android.AndroidCommandLineProcessor
ComponentRegistrar: org.jetbrains.kotlin.android.AndroidComponentRegistrar
@@ -0,0 +1 @@
org.jetbrains.kotlin.android.AndroidCommandLineProcessor
@@ -0,0 +1 @@
org.jetbrains.kotlin.android.AndroidComponentRegistrar