<feed xmlns='http://www.w3.org/2005/Atom'>
<title>github/frege-gradle-plugin.git/src/main/java/ch/fhnw/thga/gradleplugins/ReplFregeTask.java, branch feature/intellij-new</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/frege-gradle-plugin.git/'/>
<entry>
<title>feat: simplifies the replFrege task</title>
<updated>2022-02-23T18:29:54+00:00</updated>
<author>
<name>Thibault Gagnaux</name>
<email>tgagnaux@gmail.com</email>
</author>
<published>2022-02-23T18:29:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/frege-gradle-plugin.git/commit/?id=049f8d3029b30dc58221e90aa8ddf69b3aa3b61e'/>
<id>049f8d3029b30dc58221e90aa8ddf69b3aa3b61e</id>
<content type='text'>
The replFregeTask has the following new logic:
1. Compiles the specified fregeRepl module (either in the
   `build.gradle` via command line option `--replModule=...`) and all
   its dependencies.
2. Sets up the correct classpath so that dependent modules don't have
to be imported manually. In addition, it solves the shadowing problem by
removing the replModule java and class file from the classpath.
3. It prints one single command to directly start the repl and load the
   specified module.

Bonus: I designed the task so that you can even automate step 3 with
the following bash command: `eval $(./gradlew -q replFrege)`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The replFregeTask has the following new logic:
1. Compiles the specified fregeRepl module (either in the
   `build.gradle` via command line option `--replModule=...`) and all
   its dependencies.
2. Sets up the correct classpath so that dependent modules don't have
to be imported manually. In addition, it solves the shadowing problem by
removing the replModule java and class file from the classpath.
3. It prints one single command to directly start the repl and load the
   specified module.

Bonus: I designed the task so that you can even automate step 3 with
the following bash command: `eval $(./gradlew -q replFrege)`.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: finishes the replFregeTask refactoring</title>
<updated>2022-02-23T10:06:00+00:00</updated>
<author>
<name>Thibault Gagnaux</name>
<email>tgagnaux@gmail.com</email>
</author>
<published>2022-02-23T10:04:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/frege-gradle-plugin.git/commit/?id=a4879784e7be87b5ee184b47eb8faba635019a5d'/>
<id>a4879784e7be87b5ee184b47eb8faba635019a5d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: simplifies the whole gradle plugin</title>
<updated>2022-02-02T17:50:13+00:00</updated>
<author>
<name>Thibault Gagnaux</name>
<email>tgagnaux@gmail.com</email>
</author>
<published>2022-02-02T17:50:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/frege-gradle-plugin.git/commit/?id=47f99d65a09660863cb5d6b25b239ead3389f3ac'/>
<id>47f99d65a09660863cb5d6b25b239ead3389f3ac</id>
<content type='text'>
- the `compileFregeTask` has a new optional input called `mainModuleName`. If
it is set, it and only its dependencies will be compiled, otherwise all
`.fr`files in the `mainSourceDir`will be compiled.

- the internal `DependencyFregeTask` is deleted because it was only
used by the vscode plugin and I decided to remove this gradle plugin
as a dependency.

- an example project folder was added to test the plugin manually.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- the `compileFregeTask` has a new optional input called `mainModuleName`. If
it is set, it and only its dependencies will be compiled, otherwise all
`.fr`files in the `mainSourceDir`will be compiled.

- the internal `DependencyFregeTask` is deleted because it was only
used by the vscode plugin and I decided to remove this gradle plugin
as a dependency.

- an example project folder was added to test the plugin manually.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: adds `replSource` property and command-line option</title>
<updated>2021-12-21T10:22:55+00:00</updated>
<author>
<name>Thibault Gagnaux</name>
<email>tgagnaux@gmail.com</email>
</author>
<published>2021-12-20T19:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/frege-gradle-plugin.git/commit/?id=992490f446720cd4cf4fb9aadff463b2328a8287'/>
<id>992490f446720cd4cf4fb9aadff463b2328a8287</id>
<content type='text'>
The `replSource` property specifies the frege source file that you want to
load into the repl. It is excluded in the `fregeCompile` task so that
we don't get two java class files (one from `compileFrege` and one
from the fregeRepl `:l` command) that shadow each other on the classpath.

As a result, we can make interactive changes to the `replSource` file and
use the `:r` reload command to see them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `replSource` property specifies the frege source file that you want to
load into the repl. It is excluded in the `fregeCompile` task so that
we don't get two java class files (one from `compileFrege` and one
from the fregeRepl `:l` command) that shadow each other on the classpath.

As a result, we can make interactive changes to the `replSource` file and
use the `:r` reload command to see them.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: extracts common `setupClasspath` logic to util class</title>
<updated>2021-12-21T10:19:07+00:00</updated>
<author>
<name>Thibault Gagnaux</name>
<email>tgagnaux@gmail.com</email>
</author>
<published>2021-12-20T11:54:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/frege-gradle-plugin.git/commit/?id=f923b4f8733003d55891dd4da25d849c81c4933c'/>
<id>f923b4f8733003d55891dd4da25d849c81c4933c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: adds an internal `depsFrege` task and simplifes `replFrege`</title>
<updated>2021-12-10T08:31:44+00:00</updated>
<author>
<name>Thibault Gagnaux</name>
<email>tgagnaux@gmail.com</email>
</author>
<published>2021-12-10T08:31:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/frege-gradle-plugin.git/commit/?id=815cc93c870a2a857de8c5dd1dcc8c9aa5b4f2a8'/>
<id>815cc93c870a2a857de8c5dd1dcc8c9aa5b4f2a8</id>
<content type='text'>
- `depsFregeTask`: only internal use for the vscode plugin to automate the
repl code lens.
- `replFregeTask`: simplified to only print the command to start the repl because
starting and interacting through a console is not gradle's core strength. See
https://github.com/tricktron/frege-gradle-plugin/issues/11.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- `depsFregeTask`: only internal use for the vscode plugin to automate the
repl code lens.
- `replFregeTask`: simplified to only print the command to start the repl because
starting and interacting through a console is not gradle's core strength. See
https://github.com/tricktron/frege-gradle-plugin/issues/11.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: replFrege task v2 returns classpath with all dependencies</title>
<updated>2021-12-08T18:19:06+00:00</updated>
<author>
<name>Thibault Gagnaux</name>
<email>tgagnaux@gmail.com</email>
</author>
<published>2021-12-08T18:19:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/frege-gradle-plugin.git/commit/?id=420ecbdfde5ef96186fc0a805fa4d1d449d8d889'/>
<id>420ecbdfde5ef96186fc0a805fa4d1d449d8d889</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: adds `System.in` as StandardInput to make `ReplFrege` task interactively</title>
<updated>2021-11-28T11:10:06+00:00</updated>
<author>
<name>Thibault Gagnaux</name>
<email>tgagnaux@gmail.com</email>
</author>
<published>2021-11-28T10:40:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/frege-gradle-plugin.git/commit/?id=8fed7811e535d3f8892ea16f7587e461ef1ee98e'/>
<id>8fed7811e535d3f8892ea16f7587e461ef1ee98e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: adds `replFrege` task</title>
<updated>2021-11-24T09:27:00+00:00</updated>
<author>
<name>Thibault Gagnaux</name>
<email>tgagnaux@gmail.com</email>
</author>
<published>2021-11-24T09:27:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/frege-gradle-plugin.git/commit/?id=1f13c769f57d4670cee462b6cf741efb5f5a8cd6'/>
<id>1f13c769f57d4670cee462b6cf741efb5f5a8cd6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
