Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Commit

Permalink
Release v0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso committed Sep 11, 2019
1 parent ffc9fa1 commit 0874ec7
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 4 deletions.
4 changes: 4 additions & 0 deletions demoProject/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
/example/build/
/buildSrc/.gradle/
/.idea/
/buildSrc/build/
/ktorfit-compiler/build/
/.gradle/
/ktorfit-annotations/build/
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ open class CommonComponentRegistrar : ComponentRegistrar {
val processor = MpAptTestProcessor()
val mpapt = MpAptProject(processor,configuration)
StorageComponentContainerContributor.registerExtension(project,mpapt)
SyntheticResolveExtension.registerExtension(project, mpapt)
ClassBuilderInterceptorExtension.registerExtension(project,mpapt)
JsSyntheticTranslateExtension.registerExtension(project,mpapt)
}
Expand Down
2 changes: 1 addition & 1 deletion demoProject/ktorfit-shared/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repositories {

dependencies {
implementation 'com.squareup:kotlinpoet:1.3.0'
compile 'de.jensklingenberg:mpapt-runtime:0.8.1'
compile 'de.jensklingenberg:mpapt-runtime:0.8.2'
compile "de.jensklingenberg.ktorfit:ktorfit-annotations-jvm:0.0.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compileOnly "org.jetbrains.kotlin:kotlin-compiler-embeddable"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package de.jensklingenberg.mpapt

import de.jensklingenberg.testAnnotations.TestClass

@TestClass
abstract class TestAbstract{

}
2 changes: 1 addition & 1 deletion mpapt-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ allprojects {

group = "de.jensklingenberg"
archivesBaseName = "mpapt-runtime"
version = "0.8.1"
version = "0.8.2"

install {
repositories.mavenInstaller {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ import org.jetbrains.kotlin.codegen.extensions.ClassBuilderInterceptorExtension
import org.jetbrains.kotlin.config.CompilerConfiguration
import org.jetbrains.kotlin.extensions.StorageComponentContainerContributor
import org.jetbrains.kotlin.js.translate.extensions.JsSyntheticTranslateExtension
import org.jetbrains.kotlin.resolve.extensions.SyntheticResolveExtension

class MpAptProject(abstractProcessor: AbstractProcessor, configuration: CompilerConfiguration) :
// SyntheticResolveExtension by SyntheticResolveExtensionImpl(abstractProcessor, ClassParser(abstractProcessor)),
SyntheticResolveExtension by SyntheticResolveExtensionImpl(abstractProcessor, ClassParser(abstractProcessor)),
IrGenerationExtension by NativeIrGenerationExtension(abstractProcessor),
JsSyntheticTranslateExtension by JsSyntheticTranslateExtensionExt(abstractProcessor),
ClassBuilderInterceptorExtension by ClassBuilderInterceptorExtensionImpl(abstractProcessor),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package de.jensklingenberg.mpapt.common

import de.jensklingenberg.mpapt.model.AbstractProcessor
import org.jetbrains.kotlin.resolve.extensions.SyntheticResolveExtension

@Deprecated("This class is not needed anymore")
class SyntheticResolveExtensionImpl(abstractProcessor: AbstractProcessor, classParser: ClassParser) : SyntheticResolveExtension

0 comments on commit 0874ec7

Please sign in to comment.