Unable to run on Gradle build

when I try creating a project with the Gradle Build System, it gives me an error and it doesn’t allow me to run any file.
If someone can help?
Here are some pictures




For the benefit of those of us who don’t have microscopes to hand (or who are using phones/tablets, or who use screen readers, or who might be reading this in the future after the images have been taken down, or who might be searching for keywords, or who might want to copy-and-paste code into their IDE), could you post the code and errors as text please?

1 Like

Okay,
Sorry about that
The code is

fun main() {
   println("hi")
}

(There is no run button)
And the error is

Build file 'C:\Joe\IdeaProjects\bounty-board-gradle\build.gradle' line: 2

Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.7.10'] was not found in any of the following sources:

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.