Note the discrepancy between ./repo
(publishing) and ../repo
(buildscript.repositories).
java-gradle-plugin
creates the plugin’s metadata automatically, so there should be no need to create them as @johnjohndoe suggested, see https://docs.gradle.org/current/userguide/java_gradle_plugin.html
Also, if you’re doing this to be able to test your plugin, you really should use the test kit and not local “dogfooding”.