Skip to content

Commit 1827e4d

Browse files
committed
Cleanup of build.gradle (comments, et al)
1 parent 7f46a31 commit 1827e4d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* try to use variables for things that will be different from library
55
* to library, preferably with a function that can automatically
66
* determine the value...
7+
*
8+
* Search for 'RPTools' to see the variables defined so far.
79
*/
810
import org.apache.tools.ant.filters.ReplaceTokens
911
import java.text.SimpleDateFormat
@@ -37,11 +39,16 @@ plugins {
3739
id 'eclipse'
3840
}
3941

42+
// ================================================================
43+
// Change these below for each library. Don't touch anything else!
4044
String reponame = 'RPTools'
4145
String repourl = 'github.com/'+reponame+'/'+project.name
4246
String userOrganization = 'rptools'
43-
String description = 'General library of role-playing appropriate functionality'
44-
String libName = 'RP lib'
47+
String description = 'General library of role-playing functionality'
48+
49+
String libName = 'RP lib' // only used by bintrayUpload (unused)
50+
// Change these above for each library. Don't touch anything else!
51+
// ================================================================
4552

4653
ext.gitrepo = Grgit.open(project.file('.'))
4754
ext.compileDate = new Date();
@@ -59,7 +66,7 @@ task createBintrayDeploymentDescription(type: Copy) {
5966
// Use some of the filters provided by Ant
6067
filter(ReplaceTokens, tokens: [
6168
NAME: project.name,
62-
DESCRIPTION: 'General library of role-playing functionality',
69+
DESCRIPTION: description,
6370
LICENSE: "LGPL-3.0", // All libs are LGPLv3
6471
VERSION: version
6572
])

0 commit comments

Comments
 (0)