Gradle and Jitpack issue with JCIFS

Trying to include JCIFS-ng into a new gradle project. The error I am getting:

* What went wrong:
Execution failed for task ':buildSrc:generateExternalPluginSpecBuilders'.
> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
   > Could not find com.github.AgNO3.jcifs-ng:jcifs-ng:master.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/com/github/AgNO3/jcifs-ng/jcifs-ng/master/jcifs-ng-master.pom
       - https://repo.maven.apache.org/maven2/com/github/AgNO3/jcifs-ng/jcifs-ng/master/jcifs-ng-master.pom
       - https://jitpack.io/com/github/AgNO3/jcifs-ng/jcifs-ng/master/jcifs-ng-master.pom
     Required by:
         project :buildSrc

It appears the path that jitpack is looking at is wrong, but I cannot see how to direct it to the right link.

The following s the build.gradle.kts file that is generating the error:

/*
 * This file was generated by the Gradle 'init' task.
 */

plugins {
    // Support convention plugins written in Kotlin. Convention plugins are build scripts in 'src/main' that automatically become available as plugins in the main build.
    `kotlin-dsl`
}

repositories {
    // Use the plugin portal to apply community plugins in convention plugins.
    gradlePluginPortal()
    mavenCentral()
    maven {
        url = uri("https://jitpack.io")
    }
}

dependencies { 
    //implementation("org.cifs:jcifs-ng")
    //implementation("io.jitpack:com:github:AgNO3:jcifs-ng:jcifs-ng-2.1.10")
    implementation("com.github.AgNO3.jcifs-ng:jcifs-ng:master") // Use the latest version from JitPack 
}

java {

}