Skip to content

Commit

Permalink
subproject test, added license headers, upgraded Fixt
Browse files Browse the repository at this point in the history
  • Loading branch information
musketyr committed Dec 9, 2021
1 parent 668852b commit 6ade332
Show file tree
Hide file tree
Showing 25 changed files with 536 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ gradleProjects.subprojects {
}

testImplementation gradleTestKit()
testImplementation 'com.agorapulse.testing:fixt:0.2.2'
testImplementation 'com.agorapulse.testing:fixt:0.2.3'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ class BasePlugin extends AbstractKordampPlugin {
}

void apply(Project project) {
project.allprojects { Project p ->
ConfigExtension.createIfMissing(p)
}

if (true) {
// TODO: remove after testing
return
}

Banner.display(project)
this.project = project
ProjectEvaluationListenerManager.register(project.gradle)
Expand All @@ -94,8 +103,6 @@ class BasePlugin extends AbstractKordampPlugin {
project.extensions.create(ProjectConfigurationExtension.CONFIG_NAME, ProjectConfigurationExtension, project)
}

ConfigExtension.createIfMissing(project)

project.tasks.register('verify', DefaultTask,
new Action<DefaultTask>() {
@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.NamedDomainObjectContainer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Project;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.provider.Property;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Project;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.NamedDomainObjectContainer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Project;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Project;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Named;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Named;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Named;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.provider.Property;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Project;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Named;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Named;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Project;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.extensions;

import org.gradle.api.Project;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2018-2021 Andres Almiray.
*
* 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
*
* https://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.kordamp.gradle.plugin.base.util;

import org.gradle.api.plugins.ExtensionAware;
Expand Down
Loading

0 comments on commit 6ade332

Please sign in to comment.