Skip to content

Commit

Permalink
Update gradle to 6.8.3 (#31)
Browse files Browse the repository at this point in the history
Description
===========

This patch upgrades the whole plugin to be based on gradle 6.8.3.
It will not be aimed to be backwards compatible with gradle older than
version `5.0`.

Changes
=======

![UPDATE] ![GRADLE] to version `6.8.3`
![BREAK] ![GRADLE] supported backwards compatibility
  • Loading branch information
Larusso authored Apr 14, 2021
1 parent 7977960 commit 5c4e99a
Show file tree
Hide file tree
Showing 26 changed files with 383 additions and 349 deletions.
16 changes: 16 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
#!groovy
/*
* Copyright 2018-2021 Wooga GmbH
*
* 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.
*/

@Library('github.com/wooga/[email protected]') _

withCredentials([string(credentialsId: 'atlas_plugins_coveralls_token', variable: 'coveralls_token')]) {
Expand Down
43 changes: 21 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,31 +52,30 @@ Documentation
Gradle and Java Compatibility
=============================

Built with Oracle JDK7
Tested with Oracle JDK8
Tested with openJDK8

| Gradle Version | Works |
| :-------------: | :----: |
| < 3.0 | ![no] |
| 3.0 | ![no] |
| 3.1 | ![no] |
| 3.2 | ![no] |
| 3.3 | ![no] |
| 3.4 | ![no] |
| 3.5 | ![no] |
| 3.5.1 | ![no] |
| 4.0 | ![yes] |
| 4.1 | ![yes] |
| 4.2 | ![yes] |
| 4.3 | ![yes] |
| 4.4 | ![yes] |
| 4.5 | ![yes] |
| 4.6 | ![yes] |
| 4.6 | ![yes] |
| 4.7 | ![yes] |
| 4.8 | ![yes] |
| 4.9 | ![yes] |
| 4.10 | ![yes] |
| < 5.0 | ![no] |
| 5.0 | ![yes] |
| 5.1 | ![yes] |
| 5.2 | ![yes] |
| 5.3 | ![yes] |
| 5.4 | ![yes] |
| 5.5 | ![yes] |
| 5.6 | ![yes] |
| 5.6 | ![yes] |
| 6.0 | ![yes] |
| 6.1 | ![yes] |
| 6.2 | ![yes] |
| 6.3 | ![yes] |
| 6.4 | ![yes] |
| 6.5 | ![yes] |
| 6.6 | ![yes] |
| 6.6 | ![yes] |
| 6.7 | ![yes] |
| 6.8 | ![yes] |
| 7.0 | ![yes] |

Development
===========
Expand Down
49 changes: 39 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
/*
* Copyright 2018 Wooga GmbH
* Copyright 2018-2021 Wooga GmbH
*
* 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
* 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.
*
*/

plugins {
id 'net.wooga.plugins' version '1.3.0'
id 'com.gradle.plugin-publish' version '0.12.0'
id 'com.gradle.plugin-publish' version '0.14.0'
}

group 'net.wooga.gradle'
Expand All @@ -41,13 +40,43 @@ github {
repositoryName = "wooga/atlas-plugins"
}

compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}

/*
This method can be removed after the release of the next major version
*/
private static void setupIntegrationTestConfiguration(Project project) {
def configurations = project.configurations
def testImplementation = configurations.getByName("testImplementation")
def testRuntimeOnly = configurations.getByName("testRuntimeOnly")

def integrationTestImplementation = configurations.getByName("integrationTestImplementation")
integrationTestImplementation.extendsFrom(testImplementation)

def integrationTestRuntimeOnly = configurations.getByName("integrationTestRuntimeOnly")
integrationTestRuntimeOnly.extendsFrom(testRuntimeOnly)
}

setupIntegrationTestConfiguration(this.project)

dependencies {
compile 'gradle.plugin.net.wooga.gradle:atlas-github:1.+'
compile 'com.netflix.nebula:nebula-release-plugin:7.+'
compile 'com.gradle.publish:plugin-publish-plugin:0.11.0'
compile 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.2'
implementation 'gradle.plugin.net.wooga.gradle:atlas-github:[1,2)'
implementation 'com.netflix.nebula:nebula-release-plugin:[15,16)'
implementation 'com.gradle.publish:plugin-publish-plugin:0.14.0'
implementation 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:[2,3)'

testImplementation('com.netflix.nebula:nebula-test:[8,9)') {
version {
strictly '8.1.0'
}
}

testCompile('com.netflix.nebula:nebula-test:7.7.0') {
force = true
testImplementation('junit:junit:[4,5)')
testImplementation('org.spockframework:spock-core:1.3-groovy-2.5') {
exclude module: 'groovy-all'
}
testImplementation 'org.ajoberstar.grgit:grgit-core:[4,5)'
}
33 changes: 14 additions & 19 deletions docs/api/allclasses-frame.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
~ Copyright 2018-2021 Wooga GmbH
~
~ 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.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
Expand Down
33 changes: 14 additions & 19 deletions docs/api/deprecated-list.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
~ Copyright 2018-2021 Wooga GmbH
~
~ 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.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
Expand Down
33 changes: 14 additions & 19 deletions docs/api/help-doc.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
~ Copyright 2018-2021 Wooga GmbH
~
~ 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.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


Expand Down
33 changes: 14 additions & 19 deletions docs/api/index-all.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
~ Copyright 2018-2021 Wooga GmbH
~
~ 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.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
Expand Down
33 changes: 14 additions & 19 deletions docs/api/index.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
~ Copyright 2018-2021 Wooga GmbH
~
~ 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.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
Expand Down
33 changes: 14 additions & 19 deletions docs/api/overview-frame.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
~ Copyright 2018-2021 Wooga GmbH
~
~ 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.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
Expand Down
Loading

0 comments on commit 5c4e99a

Please sign in to comment.