Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide support to bypass the ScriptEngine and just compile with kotlin:ank:compile #472

Closed
raulraja opened this issue Nov 22, 2017 · 6 comments
Assignees

Comments

@raulraja
Copy link
Member

No description provided.

@nomisRev
Copy link
Member

nomisRev commented Jun 4, 2019

This might be easy with Fluid compiler, it also has support for running kapt from code.

@AlexITC
Copy link

AlexITC commented Apr 15, 2021

We do need this one too, is there any plans for it?

@nomisRev
Copy link
Member

Hey @AlexITC,

There are currently not any active plans to work on this. With the recent changes in Dokka with plugins we were hoping to migrate Ank or its functionality to a plugin. Which might change the focus a little bit to focus on project documentation rather than markdown-style evaluation which is also already covered by KotlinX-Knit.

Are you currently using Ank in your project? And what is your use-case for kotlin:ank:compile?

@AlexITC
Copy link

AlexITC commented Apr 16, 2021

We are using ank to type-check kotlin code snippets in our docs, there are some examples that perform network calls which won't work in our CI that builds our docs website, hence, making sure that those examples compile without executing them is ideal.

@raulraja
Copy link
Member Author

@AlexITC Development of Ank has been discontinued in Arrow in favor of Knit in #2634 #2584. Knit covers your use case of just compiling code snippets without executing them. I'll close this issue, but If you still rely on Ank and need help migrating feel free to swing by our slack channel in the Kotlin slack where we can help out on how to migrate to knit.

@AlexITC
Copy link

AlexITC commented Mar 12, 2022

Thanks! I'll check because I don't even remember if we still use Ank.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants