-
Notifications
You must be signed in to change notification settings - Fork 583
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'e0f494e942b1be285c0cb822da619a7df0eaaf9c' into issue-2796
- Loading branch information
Showing
1,721 changed files
with
33,014 additions
and
16,697 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,4 @@ | ||
*/target/ | ||
|
||
build/ | ||
*/src/generated/ | ||
# Gradle | ||
.gradle/ | ||
|
||
.project | ||
.classpath | ||
.settings/org.eclipse.m2e.core.prefs | ||
*/.classpath | ||
*.prefs | ||
|
||
*.iml | ||
.idea | ||
out/ | ||
|
||
.nb-gradle | ||
.nb-gradle-properties | ||
|
||
/classes | ||
|
||
**/*.*~ | ||
**/build/ | ||
!**/src/**/build/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
107/src/main/java/org/ehcache/jsr107/DefaultJsr107SerializationProvider.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* All content copyright Terracotta, Inc., unless otherwise indicated. | ||
* | ||
* 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. | ||
*/ | ||
|
||
//See Jenkins wiki pages for info | ||
checkmarxBuild checkmarx_project_name: 'Terracotta DB (TDB) Ehcache OSS' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
plugins { | ||
id 'java-gradle-plugin' | ||
} | ||
|
||
repositories { | ||
gradlePluginPortal() | ||
mavenCentral() | ||
} | ||
|
||
gradlePlugin { | ||
plugins { | ||
internalModule { | ||
id = 'org.ehcache.build.internal-module' | ||
implementationClass = 'org.ehcache.build.InternalEhcacheModule' | ||
} | ||
publicModule { | ||
id = 'org.ehcache.build.public-module' | ||
implementationClass = 'org.ehcache.build.PublicEhcacheModule' | ||
} | ||
clusteredModule { | ||
id = 'org.ehcache.build.clustered-module' | ||
implementationClass = 'org.ehcache.build.ClusteredEhcacheModule' | ||
} | ||
serverModule { | ||
id = 'org.ehcache.build.clustered-server-module' | ||
implementationClass = 'org.ehcache.build.ClusteredServerModule' | ||
} | ||
distribution { | ||
id = 'org.ehcache.build.package' | ||
implementationClass = 'org.ehcache.build.EhcachePackage' | ||
} | ||
|
||
variant { | ||
id = 'org.ehcache.build.plugins.variant' | ||
implementationClass = 'org.ehcache.build.plugins.VariantPlugin' | ||
} | ||
|
||
base { | ||
id = 'org.ehcache.build.conventions.base' | ||
implementationClass = 'org.ehcache.build.conventions.BaseConvention' | ||
} | ||
java { | ||
id = 'org.ehcache.build.conventions.java' | ||
implementationClass = 'org.ehcache.build.conventions.JavaConvention' | ||
} | ||
javaLibrary { | ||
id = 'org.ehcache.build.conventions.java-library' | ||
implementationClass = 'org.ehcache.build.conventions.JavaLibraryConvention' | ||
} | ||
war { | ||
id = 'org.ehcache.build.conventions.war' | ||
implementationClass = 'org.ehcache.build.conventions.WarConvention' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
api gradleApi() | ||
api 'biz.aQute.bnd:biz.aQute.bnd.gradle:6.0.0' | ||
api 'gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0' | ||
api 'org.unbroken-dome.gradle-plugins:gradle-xjc-plugin:2.0.0' | ||
api 'com.github.spotbugs.snom:spotbugs-gradle-plugin:4.7.9' | ||
implementation 'biz.aQute.bnd:biz.aQute.bndlib:6.0.0' | ||
implementation 'org.osgi:org.osgi.service.component.annotations:1.5.0' | ||
implementation 'org.apache.felix:org.apache.felix.scr.generator:1.18.4' | ||
implementation 'org.apache.felix:org.apache.felix.scr.ds-annotations:1.2.10' | ||
} |
12 changes: 12 additions & 0 deletions
12
build-logic/src/main/java/org/ehcache/build/ClusteredEhcacheModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.ehcache.build; | ||
|
||
import org.gradle.api.Project; | ||
|
||
public class ClusteredEhcacheModule extends EhcacheModule { | ||
|
||
@Override | ||
public void apply(Project project) { | ||
project.setGroup("org.ehcache.modules.clustered"); | ||
super.apply(project); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
build-logic/src/main/java/org/ehcache/build/ClusteredServerModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.ehcache.build; | ||
|
||
import org.ehcache.build.conventions.DeployConvention; | ||
import org.ehcache.build.plugins.VoltronPlugin; | ||
import org.gradle.api.Plugin; | ||
import org.gradle.api.Project; | ||
|
||
public class ClusteredServerModule implements Plugin<Project> { | ||
|
||
@Override | ||
public void apply(Project project) { | ||
project.setGroup("org.ehcache.modules.clustered"); | ||
|
||
project.getPlugins().apply(DeployConvention.class); | ||
project.getPlugins().apply(VoltronPlugin.class); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
build-logic/src/main/java/org/ehcache/build/EhcacheModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.ehcache.build; | ||
|
||
import org.ehcache.build.conventions.BndConvention; | ||
import org.ehcache.build.conventions.JavaLibraryConvention; | ||
import org.ehcache.build.conventions.DeployConvention; | ||
import org.gradle.api.Plugin; | ||
import org.gradle.api.Project; | ||
|
||
public abstract class EhcacheModule implements Plugin<Project> { | ||
|
||
@Override | ||
public void apply(Project project) { | ||
project.getPlugins().apply(JavaLibraryConvention.class); | ||
project.getPlugins().apply(DeployConvention.class); | ||
project.getPlugins().apply(BndConvention.class); | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
build-logic/src/main/java/org/ehcache/build/EhcachePackage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.ehcache.build; | ||
|
||
import org.ehcache.build.conventions.DeployConvention; | ||
import org.ehcache.build.plugins.PackagePlugin; | ||
import org.gradle.api.Plugin; | ||
import org.gradle.api.Project; | ||
|
||
public class EhcachePackage implements Plugin<Project> { | ||
|
||
@Override | ||
public void apply(Project project) { | ||
project.setGroup("org.ehcache"); | ||
project.getPlugins().apply(PackagePlugin.class); | ||
project.getPlugins().apply(DeployConvention.class); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
build-logic/src/main/java/org/ehcache/build/InternalEhcacheModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.ehcache.build; | ||
|
||
import org.gradle.api.Project; | ||
|
||
public class InternalEhcacheModule extends EhcacheModule { | ||
|
||
@Override | ||
public void apply(Project project) { | ||
project.setGroup("org.ehcache.modules"); | ||
super.apply(project); | ||
} | ||
} | ||
|
11 changes: 11 additions & 0 deletions
11
build-logic/src/main/java/org/ehcache/build/PublicEhcacheModule.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.ehcache.build; | ||
|
||
import org.gradle.api.Project; | ||
|
||
public class PublicEhcacheModule extends EhcacheModule { | ||
@Override | ||
public void apply(Project project) { | ||
project.setGroup("org.ehcache"); | ||
super.apply(project); | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
build-logic/src/main/java/org/ehcache/build/conventions/BaseConvention.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.ehcache.build.conventions; | ||
|
||
import org.gradle.api.Plugin; | ||
import org.gradle.api.Project; | ||
import org.gradle.api.artifacts.ResolutionStrategy; | ||
import org.gradle.api.plugins.BasePlugin; | ||
|
||
import java.net.URI; | ||
|
||
public class BaseConvention implements Plugin<Project> { | ||
|
||
@Override | ||
public void apply(Project project) { | ||
project.getPlugins().apply(BasePlugin.class); | ||
|
||
project.getRepositories().mavenCentral(); | ||
project.getRepositories().maven(repo -> repo.setUrl(URI.create("https://repo.terracotta.org/maven2"))); | ||
|
||
project.getConfigurations().configureEach( | ||
config -> config.resolutionStrategy(ResolutionStrategy::failOnVersionConflict) | ||
); | ||
} | ||
} |
Oops, something went wrong.