File tree Expand file tree Collapse file tree 4 files changed +42
-2
lines changed Expand file tree Collapse file tree 4 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 1
1
.classpath
2
2
.project
3
3
* .iml
4
+ * .zip
5
+ * .zip.sha1
6
+ plugin.xml
4
7
.idea /
8
+ web-app /WEB-INF
9
+ test /
5
10
target /
Original file line number Diff line number Diff line change 1
1
class MultiFileUploadGrailsPlugin {
2
2
3
3
// The plugin version
4
- String version = " 0.1"
4
+ String version = " 0.0.1"
5
+ String groupId = " com.wizpanda.plugins"
5
6
6
7
// The version or versions of Grails the plugin is designed for
7
8
String grailsVersion = " 2.5 > *"
Original file line number Diff line number Diff line change 1
1
# Multi File Upload
2
2
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
+ ```
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ grails.project.fork = [
14
14
]
15
15
16
16
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
+
17
22
grails. project. dependency. resolution = {
18
23
// inherit Grails' default dependencies
19
24
inherits(" global" ) {
You can’t perform that action at this time.
0 commit comments