Skip to content

Commit

Permalink
Merge pull request #16401 from igfoo/igfoo/vars
Browse files Browse the repository at this point in the history
Java/Kotlin: Remove support for some deprecated environment variables
  • Loading branch information
igfoo committed May 10, 2024
2 parents bcddef8 + 4d54c09 commit e7092b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ public enum Var {
/*
* Core toolchain variables
*/
/**
* The location of the toolchain.
*
* Deprecated in favour of {@link Var#SEMMLE_DIST}, {@link Var#SEMMLE_HOME}, and
* {@link Var#SEMMLE_DATA}.
*/
@Deprecated
ODASA_HOME,
/**
* The location of the user's configuration files, including project configurations,
* dashboard configurations, team insight configurations, licenses etc.
Expand Down Expand Up @@ -82,10 +74,6 @@ public enum Var {
* The location where our queries are kept.
*/
ODASA_QUERIES,
/**
* The location of the 'tools' directory
*/
ODASA_TOOLS,
/**
* Whether we are running in 'prototyping mode'.
*/
Expand Down Expand Up @@ -197,10 +185,6 @@ public enum Var {
* The platform we are running on; one of "linux", "osx" and "win".
*/
SEMMLE_PLATFORM,
/**
* Location of platform specific tools, currently only used in universal LGTM distributions
*/
SEMMLE_PLATFORM_TOOLS,
/**
* PATH to use to look up tooling required by macOS Relocator scripts.
*/
Expand Down Expand Up @@ -284,7 +268,6 @@ public enum Var {
/*
* Layout variables
*/
ODASA_JAVA_LAYOUT,
ODASA_CPP_LAYOUT,
ODASA_CSHARP_LAYOUT,
ODASA_PYTHON_LAYOUT,
Expand Down
4 changes: 4 additions & 0 deletions java/ql/lib/change-notes/2024-05-02-env-vars.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: breaking
---
* The Java extractor no longer supports the `ODASA_JAVA_LAYOUT`, `ODASA_TOOLS` and `ODASA_HOME` legacy environment variables.

0 comments on commit e7092b4

Please sign in to comment.