mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 04:32:23 +00:00
Upload files to curseforge to please jadedcat.
This commit is contained in:
1 parent
f71d8444e2
commit
131698ebb2
3 files changed
+17
-6
No files matched your search
+1
-1
@@ -20,7 +20,7 @@ Thumbs.db
|
||||
/atlassian-ide-plugin.xml
|
||||
|
||||
## Private Stuffs
|
||||
/ftp.properties
|
||||
/private.properties
|
||||
|
||||
## Jars
|
||||
*.jar
|
||||
+14
-4
@@ -23,11 +23,12 @@ repositories {
|
||||
}
|
||||
|
||||
apply plugin: 'forge'
|
||||
apply plugin: 'curseforge'
|
||||
|
||||
ext.configFile = file('build.properties')
|
||||
|
||||
ext.config = parseConfig(configFile)
|
||||
ext.ftp = parseConfig(file('ftp.properties'))
|
||||
ext.priv = parseConfig(file('private.properties'))
|
||||
|
||||
version = "${config.version}-${config.build_number}"
|
||||
group = "vazkii.botania" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
@@ -160,9 +161,9 @@ void ftp(Map args, Closure antFileset = {}) {
|
||||
classpath: configurations.ftpAntTask.asPath)
|
||||
Map ftpArgs = args + [ //some default options
|
||||
verbose : 'yes',
|
||||
server : ftp.host,
|
||||
userid : ftp.user,
|
||||
password: ftp.pass
|
||||
server : priv.host,
|
||||
userid : priv.user,
|
||||
password: priv.pass
|
||||
]
|
||||
delegate.ftp(ftpArgs) {
|
||||
antFileset.delegate = delegate
|
||||
@@ -179,6 +180,15 @@ def parseConfig(File config) {
|
||||
}
|
||||
}
|
||||
|
||||
curse {
|
||||
apiKey = priv.cfkey
|
||||
projectId = "225643"
|
||||
changelog = """
|
||||
See http://vazkii.us/mod/Botania/changelog.php#${version}
|
||||
"""
|
||||
releaseType = "release"
|
||||
}
|
||||
|
||||
jar {
|
||||
//rename the default output, for some better... sanity with scipts
|
||||
archiveName = "${baseName} ${version}.${extension}"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
host=
|
||||
user=
|
||||
pass=
|
||||
pass=
|
||||
cfkey=
|
||||
Reference in new issue
Block a user