发布1.1.0

This commit is contained in:
byteblogs168 2024-07-14 21:58:00 +08:00
parent c34ce2464c
commit 95f968bba4
2 changed files with 8 additions and 4 deletions

View File

@ -44,17 +44,17 @@
<dependency>
<groupId>com.aizuda</groupId>
<artifactId>snail-job-client-starter</artifactId>
<version>1.1.0-beta2</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>com.aizuda</groupId>
<artifactId>snail-job-client-retry-core</artifactId>
<version>1.1.0-beta2</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>com.aizuda</groupId>
<artifactId>snail-job-client-job-core</artifactId>
<version>1.1.0-beta2</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>com.googlecode.aviator</groupId>
@ -69,7 +69,7 @@
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
<version>3.5.6</version>
<version>3.5.7</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>

View File

@ -6,6 +6,7 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import java.util.TimeZone;
import java.util.concurrent.locks.ReentrantLock;
@SpringBootApplication
@EnableSnailJob
@ -13,6 +14,9 @@ import java.util.TimeZone;
public class SnailJobSpringbootApplication {
public static void main(String[] args) {
ReentrantLock reentrantLock = new ReentrantLock();
reentrantLock.lock();
TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"));
SpringApplication.run(SnailJobSpringbootApplication.class, args);
}