Skip to content

Commit eb82609

Browse files
committed
Released first version.
1 parent 1e32d30 commit eb82609

File tree

4 files changed

+42
-2
lines changed

4 files changed

+42
-2
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
.classpath
22
.project
33
*.iml
4+
*.zip
5+
*.zip.sha1
6+
plugin.xml
47
.idea/
8+
web-app/WEB-INF
9+
test/
510
target/

MultiFileUploadGrailsPlugin.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
class MultiFileUploadGrailsPlugin {
22

33
// The plugin version
4-
String version = "0.1"
4+
String version = "0.0.1"
5+
String groupId = "com.wizpanda.plugins"
56

67
// The version or versions of Grails the plugin is designed for
78
String grailsVersion = "2.5 > *"

README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
11
# Multi File Upload
22

3-
A plugin for multi purpose file upload functionality.
3+
A plugin for multi purpose file upload functionality.
4+
5+
## Installation
6+
7+
Add the following to your `BuildConfig.groovy` file:
8+
9+
**Under `respositories` block**
10+
11+
```groovy
12+
mavenRepo "http://dl.bintray.com/wizpanda/grails-plugins"
13+
```
14+
15+
**Under `plugins` block**
16+
17+
```groovy
18+
compile "com.wizpanda.plugins:multi-file-upload:0.0.1"
19+
```
20+
21+
## Releasing new version
22+
23+
1. Change the version in the `KernalGrailsPlugin.groovy`
24+
2. Run `grails maven-deploy`
25+
26+
You should have following in your `~/.grails/settings.groovy`
27+
28+
```groovy
29+
grails.project.repos.default = "wizpandaRepo"
30+
grails.project.repos.wizpandaRepo.username = "my-username"
31+
grails.project.repos.wizpandaRepo.password = "my-password"
32+
```

grails-app/conf/BuildConfig.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ grails.project.fork = [
1414
]
1515

1616
grails.project.dependency.resolver = "maven" // or ivy
17+
18+
grails.project.dependency.distribution = {
19+
remoteRepository(id: "wizpandaRepo", url: "https://api.bintray.com/maven/wizpanda/grails-plugins/multi-file-upload/;publish=1")
20+
}
21+
1722
grails.project.dependency.resolution = {
1823
// inherit Grails' default dependencies
1924
inherits("global") {

0 commit comments

Comments
 (0)