Check-in [0d3d3213d3]

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

Overview
Comment:Add Gradle conversion script.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wip-gradle-modernization
Files: files | file ages | folders
SHA1: 0d3d3213d31d0a8aebf15161584d863a9ac05699
User & Date: stephanie.gawroriski 2020-02-14 03:46:28
Context
2020-02-14
03:52
Move massive amount of files to their own modules. check-in: c7cae997bd user: stephanie.gawroriski tags: wip-gradle-modernization
03:46
Add Gradle conversion script. check-in: 0d3d3213d3 user: stephanie.gawroriski tags: wip-gradle-modernization
02:54
More build gradle work. check-in: 73a70f4547 user: stephanie.gawroriski tags: wip-gradle-modernization
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added utils-dev/__gradleconvert.sh.









































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
#!/bin/sh
# ---------------------------------------------------------------------------
# Multi-Phasic Applications: SquirrelJME
#     Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
#     Copyright (C) Multi-Phasic Applications <multiphasicapps.net>
# ---------------------------------------------------------------------------
# SquirrelJME is under the GNU General Public License v3, or later.
# For more information see license.txt.
# ---------------------------------------------------------------------------
# DESCRIPTION: Converts "all" projects to Gradle projects

# Force C locale
export LC_ALL=C

# Directory of this script
__exedir="$(dirname -- "$0")"

# Module directory
__modulesdir="$__exedir/../modules"

# Process all projects
"$__exedir/lsprojects.sh" | grep '^runt\/' | grep -v '\.test' |
	while read __project
do
	__basename="$(basename -- "$__project")"
	__moduledir="$__modulesdir/$__basename"
	
	echo "Processing $__project ($__basename)..."
	
	mkdir -p "$__moduledir"
	touch "$__moduledir/build.gradle"
	
	fossil add "$__moduledir/build.gradle"
	
	"$__exedir/fmv.sh" "$__exedir/../$__project" "$__moduledir/src/main/java"
done