Skip to content

Commit da2c685

Browse files
author
Andre Stubbe
committed
chore: migrate demos and benchmarks to JitPack
1 parent 368de3b commit da2c685

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

examples/Demo/pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
@@ -11,6 +11,13 @@
1111
<maven.compiler.target>17</maven.compiler.target>
1212
</properties>
1313

14+
<repositories>
15+
<repository>
16+
<id>jitpack.io</id>
17+
<url>https://jitpack.io</url>
18+
</repository>
19+
</repositories>
20+
1421
<dependencies>
1522
<dependency>
1623
<groupId>com.github.andrestubbe</groupId>

run_demo.bat

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
@echo off
1+
@echo off
22
chcp 65001 >nul
33

4-
echo ⚡ Building Main Project...
5-
call mvn -q clean install -DskipTests
6-
if %ERRORLEVEL% NEQ 0 ( pause & exit /b )
74

8-
echo 🚀 Running Demo...
5+
echo 🚀 Running Demo...
96
cd examples\Demo
107
set MAVEN_OPTS=--enable-native-access=ALL-UNNAMED --sun-misc-unsafe-memory-access=allow
118
call mvn -q compile exec:java -Dexec.mainClass=fastghostmouse.demo.Demo

0 commit comments

Comments
 (0)