@@ -106,3 +106,41 @@ def guessMaxForks() {
106
106
return Math . max(2 , (int ) (processors / 2 ))
107
107
}
108
108
109
+ javadoc {
110
+ title = " Spring Security $version API"
111
+ source = sourceSets. main. allJava
112
+ classpath + = configurations. compileOnly + configurations. provided
113
+ options {
114
+ memberLevel = org.gradle.external.javadoc.JavadocMemberLevel . PROTECTED
115
+ author = true
116
+ header = project. name
117
+ outputLevel = org.gradle.external.javadoc.JavadocOutputLevel . QUIET
118
+ links = [
119
+ " http://static.springframework.org/spring/docs/3.0.x/javadoc-api" ,
120
+ " http://static.springsource.org/spring-ldap/docs/1.3.x/apidocs/" ,
121
+ " http://download.oracle.com/javase/6/docs/api/"
122
+ ]
123
+ groups = [
124
+ ' Spring Security Core' :[
125
+ ' org.springframework.security.core*' ,
126
+ ' org.springframework.security.authentication*' ,
127
+ ' org.springframework.security.access*' ,
128
+ ' org.springframework.security.remoting*' ,
129
+ ' org.springframework.security.provisioning*' ,
130
+ ' org.springframework.security.util*' ],
131
+ ' Spring Security Web' :[' org.springframework.security.web*' ],
132
+ ' Spring Security LDAP' :[' org.springframework.security.ldap*' ],
133
+ ' Spring Security Crypto' :[' org.springframework.security.crypto*' ],
134
+ ' Spring Security OpenID' :[' org.springframework.security.openid*' ],
135
+ ' Spring Security CAS' :[' org.springframework.security.cas*' ],
136
+ ' Spring Security ACL' :[' org.springframework.security.acls*' ],
137
+ ' Spring Security Config' :[' org.springframework.security.config*' ],
138
+ ' Spring Security Taglibs' :[' org.springframework.security.taglibs*' ],
139
+ ]
140
+ }
141
+ }
142
+
143
+ task javadocJar (type : Jar ) {
144
+ classifier = ' javadoc'
145
+ from javadoc
146
+ }
0 commit comments