Skip to content

Commit 3898cb3

Browse files
committed
init
0 parents  commit 3898cb3

File tree

12 files changed

+502
-0
lines changed

12 files changed

+502
-0
lines changed

.github/workflows/allversions.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: gradle (17, 21) CI
2+
3+
on: [push,pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Set up JDKs 17, 21
12+
uses: actions/setup-java@v4
13+
with:
14+
distribution: 'temurin'
15+
java-version: |
16+
17
17+
21
18+
- name: Build with Gradle
19+
run: ./gradlew assemble
20+
- name: Test with Java 17
21+
run: ./gradlew test -PtestOnJava=17 --stacktrace
22+
- name: Test with Java 21
23+
run: ./gradlew test -PtestOnJava=21 --stacktrace
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: maven (21) CI
2+
3+
on: [push,pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-java@v4
12+
with:
13+
distribution: 'temurin'
14+
java-version: '21'
15+
- name: Build with Maven
16+
run: mvn -B package --file pom.xml

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
## CentralRoaringBitmapProject
2+
3+
This is a demonstration of how to use the RoaringBitmap library from Maven Central.
4+
5+
- [Maven](#maven)
6+
- [Gradle](#gradle)
7+
8+
9+
## Maven
10+
11+
Add the following dependencies to your pom.xml file...
12+
13+
```xml
14+
<dependency>
15+
<groupId>org.roaringbitmap</groupId>
16+
<artifactId>RoaringBitmap</artifactId>
17+
<version>1.6.9</version>
18+
</dependency>
19+
<dependency>
20+
<groupId>org.roaringbitmap</groupId>
21+
<artifactId>bsi</artifactId>
22+
<version>1.6.9</version>
23+
</dependency>
24+
```
25+
26+
## Gradle
27+
28+
The approach with gradle is similar.
29+
30+
All you need is to edit your `build.gradle` file like so:
31+
32+
```groovy
33+
plugins {
34+
id 'java'
35+
}
36+
37+
group 'org.roaringbitmap' // name of your project
38+
version '1.0-SNAPSHOT' // version of your project
39+
40+
repositories {
41+
mavenCentral()
42+
}
43+
44+
dependencies {
45+
implementation 'org.roaringbitmap:RoaringBitmap:1.6.9'
46+
implementation 'org.roaringbitmap:bsi:1.6.9'
47+
testImplementation 'junit:junit:3.8.1'
48+
}
49+
```

build.gradle

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
group 'org.roaringbitmap'
6+
version '1.0-SNAPSHOT'
7+
8+
repositories {
9+
mavenCentral()
10+
}
11+
12+
dependencies {
13+
implementation 'org.roaringbitmap:RoaringBitmap:1.6.9'
14+
implementation 'org.roaringbitmap:bsi:1.6.9'
15+
testImplementation 'junit:junit:3.8.1'
16+
}

gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
version = 1.3.13-SNAPSHOT
2+
org.gradle.parallel=false
3+
org.gradle.daemon=true
4+
org.gradle.jvmargs=-Xmx2g -XX:+UseParallelGC

gradle/wrapper/gradle-wrapper.jar

57.3 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 183 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)