Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 634 Bytes

File metadata and controls

36 lines (24 loc) · 634 Bytes

maa spring boot starter

  1. add dependency
<dependency>
    <groupId>io.github.hanhuoer</groupId>
    <artifactId>maa-spring-boot-starter</artifactId>
    <version>3.0.4</version>
</dependency>
  1. enable maa
package io.github.hanhuoer;

import io.github.hanhuoer.spring.boot.EnableMaaFramework;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@EnableMaaFramework
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(MaaApplication.class, args);
    }

}