Skip to content

Provide some basic methods and functions in Spring Boot.

License

Notifications You must be signed in to change notification settings

xia-weiyang/Spring-Util

Repository files navigation

SpringUtil

Provide some basic methods and functions in Spring Boot.

https://docs.github.com/zh/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry#publishing-a-package

Setup

Use github

  • Add it in your root build.gradle at the end of repositories
allprojects {
    repositories {
        ...
        maven {
        url = uri("https://maven.pkg.github.com/xia-weiyang/SpringUtil")
        credentials {
            username = "你的github账号"
            password = "你的github token"
        }
    }
}
  • Add the dependency
dependencies {
     implementation 'com.jiushig:spring-util:lastVersion'
}

see lastVersion

Start

  • Add scanBasePackages = {"com.jiushig"} param in your @SpringBootApplication annotation.
@SpringBootApplication(scanBasePackages = {"com.jiushig"})
public class YourApplication {
    public static void main(String[] args) {
        SpringApplication.run(YourApplication.class, args);
    }
}

About

Provide some basic methods and functions in Spring Boot.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages