add bucket4j deps
<artifactId>javase</artifactId>
<version>${zxing.version}</version>
</dependency>
-
+ <!-- Bucket4j -->
+ <dependency>
+ <groupId>com.github.vladimir-bukhtoyarov</groupId>
+ <artifactId>bucket4j-core</artifactId>
+ <version>${bucket4j.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.giffing.bucket4j.spring.boot.starter</groupId>
+ <artifactId>bucket4j-spring-boot-starter</artifactId>
+ <version>${bucket4j-spring-boot-starter.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-cache</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.cache</groupId>
+ <artifactId>cache-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.github.ben-manes.caffeine</groupId>
+ <artifactId>caffeine</artifactId>
+ <version>${caffeine.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.github.ben-manes.caffeine</groupId>
+ <artifactId>jcache</artifactId>
+ <version>${caffeine.version}</version>
+ </dependency>
</dependencies>
<repositories>
<barcode4j.version>2.1</barcode4j.version>
<qrgen.version>2.6.0</qrgen.version>
<zxing.version>3.3.0</zxing.version>
+ <bucket4j.version>4.10.0</bucket4j.version>
+ <bucket4j-spring-boot-starter.version>0.2.0</bucket4j-spring-boot-starter.version>
+ <caffeine.version>2.8.2</caffeine.version>
</properties>
</project>
