Skip to main content

Como atualizar projetos Java com o GitHub Copilot

Você pode usar o GitHub Copilot para atualizar seus aplicativos Java Maven e Gradle e aplicativos .NET.

Introduction

GitHub Copilot can help streamline the process of modernizing and upgrading your Java and .NET applications. Copilot will analyze the project, generate a plan, automatically fix issues it encounters when carrying out the plan, and produce a summary.

Upgrading Java projects

You can upgrade a Git-based Maven or Gradle Java project using GitHub Copilot in Visual Studio Code. You will need:

  • Either a GitHub Copilot Pro, GitHub Copilot Pro+, GitHub Copilot Business or GitHub Copilot Enterprise subscription plan.
  • The latest version of Visual Studio Code.
  • For Maven-based projects, access to the public Maven Central repository.
  • Installed versions of both the source and target JDKs.

For the next steps, see Quickstart: upgrade a Java project with GitHub Copilot App Modernization - upgrade for Java on Microsoft Learn.

Upgrading .NET projects

You can also upgrade a .NET project using GitHub Copilot in Visual Studio. You will need:

  • Either a GitHub Copilot Pro, GitHub Copilot Pro+, GitHub Copilot Business or GitHub Copilot Enterprise subscription plan.
  • The latest release of Visual Studio Enterprise, Professional or Community 2022.

For the next steps, see GitHub Copilot app modernization - upgrade for .NET on Microsoft Visual Studio Marketplace.