Check-in [77cc0f6cb8]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add base work which declares a number of tasks.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wip-gradle-modernization
Files: files | file ages | folders
SHA1: 77cc0f6cb8d4cd52d4ce7735b2a46892015f24de
User & Date: stephanie.gawroriski 2020-02-14 01:50:19
Context
2020-02-14
02:54
More build gradle work. check-in: 73a70f4547 user: stephanie.gawroriski tags: wip-gradle-modernization
01:50
Add base work which declares a number of tasks. check-in: 77cc0f6cb8 user: stephanie.gawroriski tags: wip-gradle-modernization
00:40
Add blank build and settings gradle. check-in: 2d7bb384fd user: stephanie.gawroriski tags: wip-gradle-modernization
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to build.gradle.







>
>
>
1
2
3

// SquirrelJME Build System Modernization Plugin
apply from: 'utils-dev/squirreljme.gradle'

Added utils-dev/squirreljme.gradle.









































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**
 * SquirrelJME Plugin
 *
 * See: https://docs.gradle.org/current/javadoc/org/gradle/api/Plugin.html
 * See: https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html
 */

class SquirrelJMEPlugin
	implements Plugin<Project>
{
	org.gradle.api.Task __makeSquirrelJMEProject(Project __project, int id)
	{
		__project.task('hello-' + id)
			{
				description 'Does a hello? ' + id
				group 'SquirrelJME'
				
				doFirst
				{
					println 'Hello world? ' + id
				}
			}
	}
	
	// Apply the plugin
	void apply(Project __project)
	{
		for (int i = 0; i < 32; i++)
		{
			__makeSquirrelJMEProject(__project, i);
		}
	}
}

// Enable it and all of its tasks
apply plugin: SquirrelJMEPlugin