Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

.idea/

.gradle/

*.iml

*.zip
Expand All @@ -12,9 +14,9 @@ target/

docs/

grails-app/conf/*
build/

*.properties
grails-app/conf/*

*.js

Expand Down
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
language: java

jdk:
- oraclejdk7
- oraclejdk8

env:
- GRAILS_VERSION=2.2.5 UPGRADE=upgrade
- GRAILS_VERSION=3.1.1 UPGRADE=upgrade

before_install:
- rm -rf ~/.gvm
- curl -s get.gvmtool.net > ~/install_gvm.sh
- chmod 775 ~/install_gvm.sh
- ~/install_gvm.sh
- echo "gvm_auto_answer=true" > ~/.gvm/etc/config
- source ~/.gvm/bin/gvm-init.sh
- gvm install grails $GRAILS_VERSION || true
- rm -rf ~/.sdkman
- curl -s "https://get.sdkman.io" > ~/install_sdk.sh
- chmod 775 ~/install_sdk.sh
- ~/install_sdk.sh
- echo sdkman_auto_answer=true > ~/.sdkman/etc/config
- source ~/.sdkman/bin/sdkman-init.sh
- sdk install grails $GRAILS_VERSION || true
- chmod 775 ./build.sh

script: ./build.sh
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ Submit issues to the [GitHub Issue Tracker](https://github.com/michaelrice/WeakS

## Authors
* Shawn Hartsock -- Creator
* Michael Rice -- Current Maintainer
* Michael Rice -- Maintainer for grails 2.X
* Sachin Verma -- Maintainer for grails 3.x
79 changes: 0 additions & 79 deletions WeakSSLGrailsPlugin.groovy

This file was deleted.

4 changes: 0 additions & 4 deletions application.properties

This file was deleted.

89 changes: 89 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
buildscript {
ext {
grailsVersion = project.grailsVersion
}
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
}
}

version "3.0-M1"
group "org.grails.plugins"

apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: "org.grails.grails-plugin"
apply plugin: "org.grails.grails-plugin-publish"
apply plugin: "org.grails.grails-gsp"

ext {
grailsVersion = project.grailsVersion
gradleWrapperVersion = project.gradleWrapperVersion
}

repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}

dependencyManagement {
imports {
mavenBom "org.grails:grails-bom:$grailsVersion"
}
applyMavenExclusions false
}

dependencies {
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
compile "org.grails:grails-core"
compile "org.springframework.boot:spring-boot-starter-actuator"
compile "org.springframework.boot:spring-boot-starter-tomcat"
compile "org.grails:grails-dependencies"
compile "org.grails:grails-web-boot"
compile "org.grails.plugins:cache"
compile "org.grails.plugins:scaffolding"
console "org.grails:grails-console"
profile "org.grails.profiles:web-plugin:3.1.1"
provided "org.grails:grails-plugin-services"
provided "org.grails:grails-plugin-domain-class"
testCompile "org.grails:grails-plugin-testing"
testCompile "org.grails.plugins:geb"
testRuntime "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
testRuntime "net.sourceforge.htmlunit:htmlunit:2.18"
}

task wrapper(type: Wrapper) {
gradleVersion = gradleWrapperVersion
}

// enable if you wish to package this plugin as a standalone application
bootRepackage.enabled = false
grailsPublish {
githubSlug = 'michaelrice/WeakSSL'
license {
name = 'Apache-2.0'
}
title = "WeakSSL"
desc = '''\\
This plugin deliberately breaks SSL for you by accepting
any SSL certificate.
'''
developers = [shawnhartsock: "Shawn Hartsock", michaelrice: "Michael Rice", sachinverma: "Sachin Verma"]
}

bintray {
pkg {
name = "$project.name"
issueTrackerUrl = "https://github.com/michaelrice/$project.name/issues"
vcsUrl = "https://github.com/michaelrice/$project.name"
version {
attributes = ['grails-plugin': "$project.group:$project.name"]
name = project.version
}
}
}
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
grails $UPGRADE --non-interactive && grails test-app unit: --non-interactive --stacktrace && grails package-plugin
grails test-app unit: --non-interactive --stacktrace && grails package-plugin
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
grailsVersion=3.1.1
gradleWrapperVersion=2.9
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Fri Nov 27 23:09:32 CET 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip
Loading