Comments (8)
I compared main with 8f50976. When you list the plugins applied to the root project, it'll give you this:
class org.gradle.api.plugins.HelpTasksPlugin$Inject
class org.gradle.buildinit.plugins.BuildInitPlugin$Inject
class org.gradle.buildinit.plugins.WrapperPlugin$Inject
class org.gradle.language.base.plugins.LifecycleBasePlugin$Inject
class org.gradle.api.plugins.BasePlugin$Inject
class org.gradle.api.plugins.JvmEcosystemPlugin$Inject
class org.gradle.api.plugins.ReportingBasePlugin$Inject
class org.gradle.api.plugins.JvmToolchainsPlugin$Inject
class org.gradle.api.plugins.JavaBasePlugin$Inject
class com.palantir.gradle.versions.VersionsLockPlugin
class com.palantir.gradle.versions.VersionsPropsPlugin
class com.palantir.gradle.versions.GetVersionPlugin
class com.palantir.gradle.versions.ConsistentVersionsPlugin
class org.owasp.dependencycheck.gradle.DependencyCheckPlugin
class org.gradle.plugins.ide.eclipse.EclipsePlugin$Inject
class de.undercouch.gradle.tasks.download.DownloadTaskPlugin
whereas after removing the palantir plugins, it'll give you this:
class org.gradle.api.plugins.HelpTasksPlugin$Inject
class org.gradle.buildinit.plugins.BuildInitPlugin$Inject
class org.gradle.buildinit.plugins.WrapperPlugin$Inject
class org.gradle.language.base.plugins.LifecycleBasePlugin$Inject
class org.gradle.api.plugins.BasePlugin$Inject
class org.apache.lucene.gradle.buildinfra.BuildInfraPlugin
class com.carrotsearch.gradle.dependencychecks.DependencyChecksPlugin
class com.github.benmanes.gradle.versions.VersionsPlugin
class org.owasp.dependencycheck.gradle.DependencyCheckPlugin
class nl.littlerobots.vcu.plugin.VersionCatalogUpdatePlugin
class de.undercouch.gradle.tasks.download.DownloadTaskPlugin
I think palantir's plugin has a side-effect of applying the java conventions to the root project [1], but it's not necessary - that's why I only apply it in the eclipse task, where it is required for the jdt. I've changed java-library to java-base though, it should have a minimal surface impact.
from lucene.
Looks like this is caused by #13484
from lucene.
Theres also some minor issue: Since this commit, whenever I commit something to the repo it complains about line endings of versions.toml
:
warning: in the working copy of 'versions.toml', CRLF will be replaced by LF the next time Git touches it
This happens after every time I execute Gradle.
from lucene.
Hi Uwe. Sorry, I was away on holidays. The cr-lf warning is caused by normalization in .gitattributes:
# Ignore all differences in line endings for the lock file.
versions.lock text eol=lf
versions.toml text eol=lf
Which git version are you using? I ask because I don't see this message. I'm also not sure how you ended up with crlfs in that file.
I'll take a look at the eclipse issue. I don't think I've changed anything that could affect it - maybe it's something indirect.
from lucene.
I will check what's wrong with my toml file. I have crlf handling completely switched off in my git config. It should not touch any line endings.
from lucene.
Which git version are you using? I think tidy will "clean up" those toml files by reordering them - there is a plugin for doing this. This plugin may be writing crlfs... but I don't see the warning you're getting (on Windows), which is strange!
from lucene.
It's the plugin that formats version catalog - versionCatalogFormatDeps task writes back the file with the default encoding/ platform line endings. I've added a post-processing step to normalize this. I'm still surprised your git version is showing a warning about it.
from lucene.
I have the git version shipped with TortoiseGit (rather new one, can check later).
Basically the warning was not the most annoying thing, it was more that the file was reported as changed in the GUI, so whole repository gets red in its explorer overlay icons.
from lucene.
Related Issues (20)
- Dimensionality reduction in Lucene
- Gradle builds slow to start HOT 2
- monitor: CollectingMatcher
- Improve TestTaxonomyFacetAssociations#validateFloats to not rely on summation ordering HOT 3
- Stop duplicating per-segment work across segment partitions
- Should KNN indexing throw an exception if `beamWidth < maxConn` to alert users to misconfiguration? HOT 2
- DrillSideways does not support intra-segment concurrency
- Nightly gh action "buildAndPushRelease and smokeTestRelease.py" should save release.log on failure
- Make dynamic range facets value collection and sorting faster
- IntObjectHashMap.values().toArray() method throws ClassCastException
- Can `gradle tidy` reflow text properly when it inserts newlines? HOT 4
- Can we remove `compress` option for quantized KNN vector indexing? HOT 7
- Support random access byte/float vector values as first class part of API
- The "PatternCaptureGroupTokenFilter" generates identical offsets, which causes issues with highlighting the string.
- Use ULP float comparison instead of epsilon-based comparison
- Should we auto-adjust top score doc and top field collector manager based on slices? HOT 2
- Odd nightly error in buildAndPushRelease: NoSuchMethodException: no such method: java.lang.invoke.MethodHandle.linkToStatic HOT 1
- SpanOrQuery uses IDFs of failed subqueries in score calculation.
- Relax Lucene Index Upgrade Policy to Allow Safe Upgrades Across Multiple Major Versions
- TestPerFieldDocValuesFormat.testThreads2 fails with java.lang.ArrayIndexOutOfBoundsException HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lucene.