Kotlin not configured

debug with --info, (skipped some things going well) :
Executing task ‘:app:compileDebugKotlin’ (up-to-date check took 0.013 secs) due to:
Task.upToDateWhen is false.
All input files are considered out-of-date for incremental task ‘:app:compileDebugKotlin’.
file or directory ‘D:\AppTimer\app\src\main\kotlin’, not found
file or directory ‘D:\AppTimer\app\src\debug\kotlin’, not found
file or directory ‘D:\AppTimer\app\src\main\kotlin’, not found
file or directory ‘D:\AppTimer\app\src\debug\kotlin’, not found
file or directory ‘D:\AppTimer\app\libs’, not found
file or directory ‘D:\AppTimer\app\libs’, not found
Using kotlin incremental compilation
[KOTLIN] deleting D:\AppTimer\app\build\tmp\kotlin-classes\debug on error
[KOTLIN] deleting D:\AppTimer\app\build\tmp\kotlin-classes\debug on error

:app:compileDebugKotlin (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 3.28 secs.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:compileDebugKotlin’.

Compilation error. See log for more details

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 13s
14 actionable tasks: 14 executed

And with stacktrace:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ‘:app:compileDebugKotlin’.