在带freemarker和gradle的弹簧靴中使用SCSS

在带freemarker和gradle的弹簧靴中使用SCSS,css,spring-boot,gradle,sass,freemarker,Css,Spring Boot,Gradle,Sass,Freemarker,因此,我有一个springboot项目,它使用freemarker并使用gradle构建 这是我的build.gradle buildscript { repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.9.RELEASE") } } plugins {

因此,我有一个
springboot
项目,它使用
freemarker
并使用
gradle
构建

这是我的
build.gradle

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.9.RELEASE")
    }
}

plugins {
    id 'org.springframework.boot' version '2.1.9.RELEASE'
    id 'io.spring.dependency-management' version '1.0.8.RELEASE'
    id 'java'
    id 'application'
}

group = 'some.project'
version = '4'
mainClassName = "some.project.Application"

repositories {
    mavenCentral()
}

dependencies {
    compile("org.springframework.boot:spring-boot-starter-web") {
        exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat'
    }
    compile('org.springframework.boot:spring-boot-starter-data-jpa') {
        exclude group: 'org.apache.tomcat', module: 'tomcat-jdbc'
    }
    implementation 'org.springframework.boot:spring-boot-starter-jetty'
    implementation 'org.springframework.boot:spring-boot-starter-freemarker'
}

jar {
    // include all the jars
    from {
        (configurations.runtime).collect {
            it.isDirectory() ? it : zipTree(it)
        }
    }
    manifest {
        attributes 'Main-Class': 'some.project.Application'
    }
}
我决定开始使用SCS,因为我的css文件变得有点难以管理和保持一致。然而,我似乎不知道如何让我的应用程序加载scss文件。所有的scss文件都位于
resources/static/scss
中,我应该如何处理它们,使它们成为css,并可被我的spring boot应用程序和freemarker读取