Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Commit e9586d4

Browse files
committed
Fix java 16
1 parent 38588fd commit e9586d4

File tree

16 files changed

+75
-48
lines changed

16 files changed

+75
-48
lines changed

BlocksHub-Base/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<dependency>
2525
<groupId>org.primesoft.blockshub</groupId>
2626
<artifactId>BlocksHub-API</artifactId>
27-
<version>[3.2.0, 4.0.0)</version>
27+
<version>[3.2.1, 4.0.0)</version>
2828
<type>jar</type>
2929
</dependency>
3030
</dependencies>

BlocksHub-BaseBukkit/pom.xml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,26 @@
3232
<dependency>
3333
<groupId>org.primesoft.blockshub</groupId>
3434
<artifactId>BlocksHub-API</artifactId>
35-
<version>[3.2.0, 4.0.0)</version>
35+
<version>[3.2.1, 4.0.0)</version>
3636
<type>jar</type>
3737
</dependency>
3838
<dependency>
3939
<groupId>org.primesoft.blockshub</groupId>
4040
<artifactId>BlocksHub-Base</artifactId>
41-
<version>[3.2.0, 4.0.0)</version>
41+
<version>[3.2.1, 4.0.0)</version>
4242
<type>jar</type>
4343
</dependency>
4444

4545
<dependency>
4646
<groupId>org.mockito</groupId>
4747
<artifactId>mockito-core</artifactId>
48-
<version>1.9.5</version>
48+
<version>4.1.0</version>
49+
</dependency>
50+
<dependency>
51+
<groupId>junit</groupId>
52+
<artifactId>junit</artifactId>
53+
<version>4.13.1</version>
54+
<scope>test</scope>
4955
</dependency>
5056
</dependencies>
5157

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package org.primesoft.blockshub.api.platform;
2+
3+
import org.bukkit.block.Block;
4+
import org.bukkit.block.data.BlockData;
5+
import org.junit.Assert;
6+
import org.junit.Test;
7+
8+
import static org.mockito.Mockito.mock;
9+
10+
public class TypedOnlyBlockTests {
11+
12+
@Test
13+
public void createBlockDataTest() {
14+
15+
BlockData bd = mock(BlockData.class);
16+
17+
Block block = TypeOnlyBlock.create(bd);
18+
19+
Assert.assertNotNull(block);
20+
}
21+
}

BlocksHub-Core/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@
2424
<dependency>
2525
<groupId>org.primesoft.blockshub</groupId>
2626
<artifactId>BlocksHub-API</artifactId>
27-
<version>[3.2.0, 4.0.0)</version>
27+
<version>[3.2.1, 4.0.0)</version>
2828
<type>jar</type>
2929
</dependency>
3030
<dependency>
3131
<groupId>org.primesoft.blockshub</groupId>
3232
<artifactId>BlocksHub-InnerAPI</artifactId>
33-
<version>[3.2.0, 4.0.0)</version>
33+
<version>[3.2.1, 4.0.0)</version>
3434
<type>jar</type>
3535
</dependency>
3636
<dependency>
3737
<groupId>org.primesoft.blockshub</groupId>
3838
<artifactId>BlocksHub-Base</artifactId>
39-
<version>[3.2.0, 4.0.0)</version>
39+
<version>[3.2.1, 4.0.0)</version>
4040
<type>jar</type>
4141
</dependency>
4242
</dependencies>

BlocksHub-CoreBukkit/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,31 +76,31 @@
7676
<dependency>
7777
<groupId>org.primesoft.blockshub</groupId>
7878
<artifactId>BlocksHub-API</artifactId>
79-
<version>[3.2.0, 4.0.0)</version>
79+
<version>[3.2.1, 4.0.0)</version>
8080
<type>jar</type>
8181
</dependency>
8282
<dependency>
8383
<groupId>org.primesoft.blockshub</groupId>
8484
<artifactId>BlocksHub-InnerAPI</artifactId>
85-
<version>[3.2.0, 4.0.0)</version>
85+
<version>[3.2.1, 4.0.0)</version>
8686
<type>jar</type>
8787
</dependency>
8888
<dependency>
8989
<groupId>org.primesoft.blockshub</groupId>
9090
<artifactId>BlocksHub-Core</artifactId>
91-
<version>[3.2.0, 4.0.0)</version>
91+
<version>[3.2.1, 4.0.0)</version>
9292
<type>jar</type>
9393
</dependency>
9494
<dependency>
9595
<groupId>org.primesoft.blockshub</groupId>
9696
<artifactId>BlocksHub-Base</artifactId>
97-
<version>[3.2.0, 4.0.0)</version>
97+
<version>[3.2.1, 4.0.0)</version>
9898
<type>jar</type>
9999
</dependency>
100100
<dependency>
101101
<groupId>org.primesoft.blockshub</groupId>
102102
<artifactId>BlocksHub-BaseBukkit</artifactId>
103-
<version>[3.2.0, 4.0.0)</version>
103+
<version>[3.2.1, 4.0.0)</version>
104104
<type>jar</type>
105105
</dependency>
106106
</dependencies>

BlocksHub-Deploy-API/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
<dependency>
1919
<groupId>org.primesoft.blockshub</groupId>
2020
<artifactId>BlocksHub-API</artifactId>
21-
<version>[3.2.0, 4.0.0)</version>
21+
<version>[3.2.1, 4.0.0)</version>
2222
<scope>compile</scope>
2323
</dependency>
2424
<dependency>
2525
<groupId>org.primesoft.blockshub</groupId>
2626
<artifactId>BlocksHub-Base</artifactId>
27-
<version>[3.2.0, 4.0.0)</version>
27+
<version>[3.2.1, 4.0.0)</version>
2828
<scope>compile</scope>
2929
</dependency>
3030
</dependencies>

BlocksHub-Deploy-Bukkit/pom.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,69 +18,69 @@
1818
<dependency>
1919
<groupId>org.primesoft.blockshub</groupId>
2020
<artifactId>BlocksHub-API</artifactId>
21-
<version>[3.2.0, 4.0.0)</version>
21+
<version>[3.2.1, 4.0.0)</version>
2222
<scope>compile</scope>
2323
</dependency>
2424
<dependency>
2525
<groupId>org.primesoft.blockshub</groupId>
2626
<artifactId>BlocksHub-Base</artifactId>
27-
<version>[3.2.0, 4.0.0)</version>
27+
<version>[3.2.1, 4.0.0)</version>
2828
<scope>compile</scope>
2929
</dependency>
3030
<dependency>
3131
<groupId>org.primesoft.blockshub</groupId>
3232
<artifactId>BlocksHub-BaseBukkit</artifactId>
33-
<version>[3.2.0, 4.0.0)</version>
33+
<version>[3.2.1, 4.0.0)</version>
3434
<scope>compile</scope>
3535
</dependency>
3636
<dependency>
3737
<groupId>org.primesoft.blockshub</groupId>
3838
<artifactId>BlocksHub-InnerAPI</artifactId>
39-
<version>[3.2.0, 4.0.0)</version>
39+
<version>[3.2.1, 4.0.0)</version>
4040
<scope>compile</scope>
4141
</dependency>
4242
<dependency>
4343
<groupId>org.primesoft.blockshub</groupId>
4444
<artifactId>BlocksHub-Core</artifactId>
45-
<version>[3.2.0, 4.0.0)</version>
45+
<version>[3.2.1, 4.0.0)</version>
4646
<scope>compile</scope>
4747
</dependency>
4848
<dependency>
4949
<groupId>org.primesoft.blockshub</groupId>
5050
<artifactId>BlocksHub-CoreBukkit</artifactId>
51-
<version>[3.2.0, 4.0.0)</version>
51+
<version>[3.2.1, 4.0.0)</version>
5252
<scope>compile</scope>
5353
</dependency>
5454
<!-- Loggers -->
5555
<dependency>
5656
<groupId>org.primesoft.blockshub.loggers</groupId>
5757
<artifactId>BlocksHub-Logger-CoreProtect</artifactId>
58-
<version>[3.2.0, 4.0.0)</version>
58+
<version>[3.2.1, 4.0.0)</version>
5959
<scope>compile</scope>
6060
</dependency>
6161
<dependency>
6262
<groupId>org.primesoft.blockshub.loggers</groupId>
6363
<artifactId>BlocksHub-Logger-LogBlock</artifactId>
64-
<version>[3.2.0, 4.0.0)</version>
64+
<version>[3.2.1, 4.0.0)</version>
6565
<scope>compile</scope>
6666
</dependency>
6767
<!-- Accessord -->
6868
<dependency>
6969
<groupId>org.primesoft.blockshub.accessors</groupId>
7070
<artifactId>BlocksHub-Accessor-Factions</artifactId>
71-
<version>[3.2.0, 4.0.0)</version>
71+
<version>[3.2.1, 4.0.0)</version>
7272
<scope>compile</scope>
7373
</dependency>
7474
<dependency>
7575
<groupId>org.primesoft.blockshub.accessors</groupId>
7676
<artifactId>BlocksHub-Accessor-GriefPrevention</artifactId>
77-
<version>[3.2.0, 4.0.0)</version>
77+
<version>[3.2.1, 4.0.0)</version>
7878
<scope>compile</scope>
7979
</dependency>
8080
<dependency>
8181
<groupId>org.primesoft.blockshub.accessors</groupId>
8282
<artifactId>BlocksHub-Accessor-WorldGuard</artifactId>
83-
<version>[3.2.0, 4.0.0)</version>
83+
<version>[3.2.1, 4.0.0)</version>
8484
<scope>compile</scope>
8585
</dependency>
8686
</dependencies>

BlocksHub-Deploy-BukkitAPI/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
<dependency>
1919
<groupId>org.primesoft.blockshub</groupId>
2020
<artifactId>BlocksHub-API</artifactId>
21-
<version>[3.2.0, 4.0.0)</version>
21+
<version>[3.2.1, 4.0.0)</version>
2222
<scope>compile</scope>
2323
</dependency>
2424
<dependency>
2525
<groupId>org.primesoft.blockshub</groupId>
2626
<artifactId>BlocksHub-Base</artifactId>
27-
<version>[3.2.0, 4.0.0)</version>
27+
<version>[3.2.1, 4.0.0)</version>
2828
<scope>compile</scope>
2929
</dependency>
3030
<dependency>
3131
<groupId>org.primesoft.blockshub</groupId>
3232
<artifactId>BlocksHub-BaseBukkit</artifactId>
33-
<version>[3.2.0, 4.0.0)</version>
33+
<version>[3.2.1, 4.0.0)</version>
3434
<scope>compile</scope>
3535
</dependency>
3636
</dependencies>

BlocksHub-InnerAPI/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
<dependency>
2525
<groupId>org.primesoft.blockshub</groupId>
2626
<artifactId>BlocksHub-API</artifactId>
27-
<version>[3.2.0, 4.0.0)</version>
27+
<version>[3.2.1, 4.0.0)</version>
2828
<type>jar</type>
2929
</dependency>
3030
<dependency>
3131
<groupId>org.primesoft.blockshub</groupId>
3232
<artifactId>BlocksHub-Base</artifactId>
33-
<version>[3.2.0, 4.0.0)</version>
33+
<version>[3.2.1, 4.0.0)</version>
3434
<type>jar</type>
3535
</dependency>
3636
</dependencies>

BlocksHub-Test/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>org.primesoft</groupId>
2828
<artifactId>BlocksHub</artifactId>
29-
<version>[3.2.0, 4.0.0)</version>
29+
<version>[3.2.1, 4.0.0)</version>
3030
<exclusions>
3131
<exclusion>
3232
<groupId>*</groupId>
@@ -37,7 +37,7 @@
3737
<dependency>
3838
<groupId>org.primesoft.blockshub</groupId>
3939
<artifactId>BlocksHub-Base</artifactId>
40-
<version>[3.2.0, 4.0.0)</version>
40+
<version>[3.2.1, 4.0.0)</version>
4141
<exclusions>
4242
<exclusion>
4343
<groupId>*</groupId>

0 commit comments

Comments
 (0)