Skip to content

Commit

Permalink
Move PolarisVersionProvider to :polaris-version to make it reusab…
Browse files Browse the repository at this point in the history
…le (apache#824)
  • Loading branch information
snazy authored Jan 20, 2025
1 parent 4187721 commit d691a9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import io.quarkus.picocli.runtime.annotations.TopCommand;
import java.io.PrintWriter;
import org.apache.polaris.version.PolarisVersionProvider;
import picocli.CommandLine.Command;
import picocli.CommandLine.HelpCommand;

Expand Down
5 changes: 4 additions & 1 deletion tools/version/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ import org.apache.tools.ant.filters.ReplaceTokens

plugins { id("polaris-client") }

dependencies { testFixturesApi(libs.assertj.core) }
dependencies {
compileOnly(libs.picocli)
testFixturesApi(libs.assertj.core)
}

description =
"Provides Polaris version information programmatically, includes the NOTICE/LICENSE* files"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.polaris.admintool;
package org.apache.polaris.version;

import org.apache.polaris.version.PolarisVersion;
import picocli.CommandLine.IVersionProvider;

public class PolarisVersionProvider implements IVersionProvider {
Expand Down

0 comments on commit d691a9a

Please sign in to comment.