All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gosulang.gradle.tasks.GosuSourceSet Maven / Gradle / Ivy

Go to download

Gosu language compiler for Gradle. Built with Gradle 5.1.1. This has also been tested extensively with Gradle version(s): 5.1.1 ** Gradle versions below 2.12 are no longer supported ** Projects applying this plugin require a compile-time dependency on the gosu-core-api library. This version requires Gosu 1.13.9 or greater, or 1.14.2 or greater. Please include this in the depencencies closure: dependencies { compile group: 'org.gosu-lang.gosu', name: 'gosu-core-api', version: '1.14.12' }

There is a newer version: 6.0.1
Show newest version
package org.gosulang.gradle.tasks;

import groovy.lang.Closure;
import org.gradle.api.Action;
import org.gradle.api.file.SourceDirectorySet;

public interface GosuSourceSet {

  /**
   * Returns the source to be compiled by the Gosu compiler for this source set. This may contain both Java and Gosu source files.
   *
   * @return The Gosu source. Never returns null.
   */
  SourceDirectorySet getGosu();

  /**
   * Configures the Gosu source for this set.
   *
   * 

The given closure is used to configure the {@link SourceDirectorySet} which contains the Gosu source. * * @param configureClosure The closure to use to configure the Gosu source. * @return this */ GosuSourceSet gosu(Closure configureClosure); /** * Configures the Gosu source for this set. * *

The given action is used to configure the {@link SourceDirectorySet} which contains the Gosu source. * * @param configureAction The action to use to configure the Gosu source. * @return this */ GosuSourceSet gosu( Action configureAction); /** * All Gosu source for this source set. * * @return the Gosu source. Never returns null. */ SourceDirectorySet getAllGosu(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy