4
4
* try to use variables for things that will be different from library
5
5
* to library, preferably with a function that can automatically
6
6
* determine the value...
7
+ *
8
+ * Search for 'RPTools' to see the variables defined so far.
7
9
*/
8
10
import org.apache.tools.ant.filters.ReplaceTokens
9
11
import java.text.SimpleDateFormat
@@ -37,11 +39,16 @@ plugins {
37
39
id ' eclipse'
38
40
}
39
41
42
+ // ================================================================
43
+ // Change these below for each library. Don't touch anything else!
40
44
String reponame = ' RPTools'
41
45
String repourl = ' github.com/' + reponame+ ' /' + project. name
42
46
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
+ // ================================================================
45
52
46
53
ext. gitrepo = Grgit . open(project. file(' .' ))
47
54
ext. compileDate = new Date ();
@@ -59,7 +66,7 @@ task createBintrayDeploymentDescription(type: Copy) {
59
66
// Use some of the filters provided by Ant
60
67
filter(ReplaceTokens , tokens : [
61
68
NAME : project. name,
62
- DESCRIPTION : ' General library of role-playing functionality ' ,
69
+ DESCRIPTION : description ,
63
70
LICENSE : " LGPL-3.0" , // All libs are LGPLv3
64
71
VERSION : version
65
72
])
0 commit comments