/*
 * Copyright 2015 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.gradle.jvm;

import groovy.lang.Closure;
import org.gradle.api.Incubating;
import org.gradle.api.InvalidUserDataException;
import org.gradle.platform.base.DependencySpecContainer;

import java.util.Set;

/**
 * Specifies the packages that constitute the API of a library. Facilitates separation of
 * API and implementation binaries for that library. Backing object for the
 * {@code api {}} DSL.
 *
 * @since 2.10
 */
@Incubating
public interface ApiSpec {

    /**
     * Specify a package to be exported as part of the library API.
     *
     * @param packageName the name of the package to be exported, e.g. "com.example.p1"
     * @throws InvalidUserDataException if the package name is not valid or has already
     * been exported
     * @see PackageName
     */
    void exports(String packageName);

    Set<PackageName> getExports();

    void dependencies(Closure<?> configureAction);

    DependencySpecContainer getDependencies();
}

@@ -701,56 +701,8 @@
 ng;%0A
-import org.gradle.api.InvalidUserDataException;%0A
 impo
@@ -1219,16 +1219,31 @@
 @throws 
+org.gradle.api.
 InvalidU
@@ -1294,16 +1294,23 @@
 valid or
+%0A     *
  has alr
@@ -1313,23 +1313,16 @@
  already
-%0A     *
  been ex

Replace ApiSpec import with fully-qualified Javadoc