public static Path getProjectionPluginPath()

in src/main/java/software/amazon/smithy/gradle/SmithyUtils.java [72:85]


    public static Path getProjectionPluginPath(Project project, String projection, String plugin) {
        SmithyExtension extension = getSmithyExtension(project);
        if (extension.getOutputDirectory() != null) {
            return extension.getOutputDirectory()
                    .toPath()
                    .resolve(projection)
                    .resolve(plugin);
        }
        return project.getBuildDir().toPath()
                .resolve(SMITHY_PROJECTIONS)
                .resolve(project.getName())
                .resolve(projection)
                .resolve(plugin);
    }