Skip to content

Commit a454a0c

Browse files
jameskleehgraemerocher
authored andcommitted
Remove most deprecated methods/classes (#10124)
* Remove most deprecated apis * Fix tests * Move tests out of org.codehaus package * Fix errors * Attempt to fix travis build
1 parent e78d1ed commit a454a0c

File tree

303 files changed

+261
-7087
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

303 files changed

+261
-7087
lines changed

grails-async/src/main/groovy/org/grails/async/decorator/PromiseDecorator.groovy

Lines changed: 0 additions & 23 deletions
This file was deleted.

grails-async/src/main/groovy/org/grails/async/decorator/PromiseDecoratorLookupStrategy.groovy

Lines changed: 0 additions & 26 deletions
This file was deleted.

grails-async/src/main/groovy/org/grails/async/decorator/PromiseDecoratorProvider.groovy

Lines changed: 0 additions & 25 deletions
This file was deleted.

grails-async/src/main/groovy/org/grails/async/factory/AbstractPromiseFactory.groovy

Lines changed: 0 additions & 23 deletions
This file was deleted.

grails-bootstrap/src/main/groovy/grails/util/BuildSettings.groovy

Lines changed: 0 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,6 @@ class BuildSettings {
8787
*/
8888
public static final String COMPILER_SOURCE_LEVEL = "grails.project.source.level"
8989

90-
/**
91-
* The dependency resolver to use
92-
*
93-
* @deprecated Use Gradle dependency resolution instead
94-
*/
95-
@Deprecated
96-
public static final String DEPENDENCY_RESOLVER = "grails.project.dependency.resolver"
97-
9890
/**
9991
* The compiler source level to use
10092
*/
@@ -119,46 +111,6 @@ class BuildSettings {
119111

120112
public static final String OFFLINE_MODE= "grails.offline.mode"
121113

122-
/**
123-
* The name of the system property for WAR exploded directory
124-
*
125-
* @deprecated Exploded WAR directory no longer supported
126-
*/
127-
@Deprecated
128-
public static final String PROJECT_WAR_EXPLODED_DIR = "grails.project.war.exploded.dir"
129-
130-
/**
131-
* The name of the system property for plugin staging directory
132-
*
133-
* @deprecated Source plugins no longer supported
134-
*/
135-
@Deprecated
136-
public static final String PLUGIN_STAGING_DIR = "grails.project.plugin.staging.dir"
137-
138-
/**
139-
* The name of the system property for plugin include source
140-
*
141-
* @deprecated Source plugins no longer supported
142-
*/
143-
@Deprecated
144-
public static final String PLUGIN_INCLUDE_SOURCE = "grails.project.plugin.includeSource"
145-
146-
/**
147-
* The name of the system property for the project plugins directory
148-
*
149-
* @deprecated Source plugins no longer supported
150-
*/
151-
@Deprecated
152-
public static final String PLUGINS_DIR = "grails.project.plugins.dir"
153-
154-
/**
155-
* The name of the system property for global plugins directory
156-
*
157-
* @deprecated Source plugins no longer supported
158-
*/
159-
@Deprecated
160-
public static final String GLOBAL_PLUGINS_DIR = "grails.global.plugins.dir"
161-
162114
/**
163115
* The name of the system property for {@link #}.
164116
*/
@@ -169,40 +121,10 @@ class BuildSettings {
169121
*/
170122
public static final String PROJECT_SOURCE_DIR = "grails.project.source.dir"
171123

172-
/**
173-
* The name of the system property for for the web.xml location
174-
*
175-
* @deprecated A web.xml is no longer supported
176-
*/
177-
@Deprecated
178-
public static final String PROJECT_WEB_XML_FILE = "grails.project.web.xml"
179124
/**
180125
* The name of the system property for the project classes directory. Must be set if changed from build/main/classes.
181126
*/
182127
public static final String PROJECT_CLASSES_DIR = "grails.project.class.dir"
183-
/**
184-
* The name of the system property for the plugin classes directory
185-
*
186-
* @deprecated Source plugins no longer supported
187-
*/
188-
@Deprecated
189-
public static final String PROJECT_PLUGIN_CLASSES_DIR = "grails.project.plugin.class.dir"
190-
191-
/**
192-
* The name of the system property for project build classes directory.
193-
*
194-
* @deprecated Source plugins no longer supported
195-
*/
196-
@Deprecated
197-
public static final String PROJECT_PLUGIN_BUILD_CLASSES_DIR = "grails.project.plugin.build.class.dir"
198-
199-
/**
200-
* The name of the system property for plugin provided classes diretory
201-
*
202-
* @deprecated Source plugins no longer supported
203-
*/
204-
@Deprecated
205-
public static final String PROJECT_PLUGIN_PROVIDED_CLASSES_DIR = "grails.project.plugin.provided.class.dir"
206128

207129
/**
208130
* The name of the system property for project test classes directory. Must be set if changed from build/test/classes
@@ -239,22 +161,6 @@ class BuildSettings {
239161
*/
240162
public static final String PROJECT_AUTODEPLOY_DIR = "grails.project.autodeploy.dir"
241163

242-
/**
243-
* The name of the system property for multiple build listeners
244-
*
245-
* @deprecated Build listeners no longer supported. Use gradle instead.
246-
*/
247-
@Deprecated
248-
public static final String BUILD_LISTENERS = "grails.build.listeners"
249-
250-
/**
251-
* The name of the system property for enabling verbose compilation verbose compile
252-
*
253-
* @deprecated Use Gradle configuration instead
254-
*/
255-
@Deprecated
256-
public static final String VERBOSE_COMPILE = "grails.project.compile.verbose"
257-
258164
/**
259165
* A system property with this name is populated in the preparation phase of functional testing
260166
* with the base URL that tests should be run against.

grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/io/support/GrailsResourceUtils.groovy

Lines changed: 0 additions & 9 deletions
This file was deleted.

grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/io/support/Resource.groovy

Lines changed: 0 additions & 10 deletions
This file was deleted.

grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/plugins/GrailsPluginInfo.groovy

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.codehaus.groovy.grails.cli.parsing
1+
package org.grails.build.parsing
22

33
import grails.util.Environment
44
import org.grails.build.parsing.CommandLineParser

grails-compat/src/main/groovy/org/codehaus/groovy/grails/beans/factory/GenericBeanFactoryAccessor.groovy

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)