Skip to content

Commit

Permalink
building from source #75
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonatai committed Jun 11, 2023
1 parent 6319ddd commit 38a707f
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import gswGradlePath from './pages/GettingStarted/GettingStartedWithGradle.md';
import gswApacheMavenPath from './pages/GettingStarted/GettingStartedWithApacheMaven.md';
import gswJitpack from './pages/GettingStarted/GettingStartedWithJitpack.md';
import gswGroovyGrape from './pages/GettingStarted/GettingStartedWithGroovyGrape.md';
import buildingFromSource from './pages/GettingStarted/BuildingFromSource.md';

export const App = (): JSX.Element => {
const { data: summary, isLoading, isError } = useGetSummary();
Expand Down Expand Up @@ -71,6 +72,12 @@ export const App = (): JSX.Element => {
path="/getting-started/getting-started-with-groovy-grape"
element={<MarkdownPage filePath={gswGroovyGrape} />}
/>
<Route
path="/getting-started/building-from-source"
element={
<MarkdownPage filePath={buildingFromSource} />
}
/>
</Routes>
</div>
</main>
Expand Down
5 changes: 5 additions & 0 deletions src/components/MainNav/MainNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ export const MainNav = (props: IMainNav) => {
Getting Started With Groovy Grape
</Link>
</li>
<li className="main__list__item">
<Link to="/getting-started/building-from-source">
Building From Source
</Link>
</li>
</ul>
<h4>Guides & Concepts</h4>
<ul className="main__list">
Expand Down
25 changes: 25 additions & 0 deletions src/pages/GettingStarted/BuildingFromSource.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Building from source

Execute the following:

```sh
gradlew build
```

Tests:

```sh
gradlew check
```

Jar file:

```sh
gradlew jar
```

Min-jar file:

```sh
gradlew proguard
```
4 changes: 3 additions & 1 deletion src/pages/GettingStarted/GettingStartedWithJitpack.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Getting started with [![](https://jitpack.io/v/Gleethos/neureka.svg)](https://jitpack.io/#Gleethos/neureka)
# Getting started with Jitpack

[![](https://jitpack.io/v/Gleethos/neureka.svg)](https://jitpack.io/#Gleethos/neureka)

**1. Add the JitPack url in your root `build.gradle` at the end of `repositories`**

Expand Down

0 comments on commit 38a707f

Please sign in to comment.