Files
hlaeja-registry-api/src/main/kotlin/ltd/hlaeja/Application.kt
Swordsteel 10f6486e37 Add device registry
- add RegistryController
- add DeviceRegistryService
- add Helper.kt
- add device registry property
- set up registry property
2024-12-21 14:59:58 +01:00

17 lines
451 B
Kotlin

package ltd.hlaeja
import ltd.hlaeja.property.DeviceRegistryProperty
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.boot.runApplication
@EnableConfigurationProperties(
DeviceRegistryProperty::class,
)
@SpringBootApplication
class Application
fun main(vararg args: String) {
runApplication<Application>(*args)
}