Skip to content

lisa-analyzer/pylisa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyLiSA

Python frontend for LiSA

Building with snapshots

Sometimes, PyLiSA will refer to a snapshot release of LiSA to exploit unreleased features. If, when building, you get the following error message:

> Could not resolve io.github.lisa-analyzer:lisa-project:ver-SNAPSHOT.
  > Could not get resource 'https://maven.pkg.github.com/lisa-analyzer/lisa/io/github/lisa-analyzer/lisa-project/ver-SNAPSHOT/maven-metadata.xml'.
    > Could not GET 'https://maven.pkg.github.com/lisa-analyzer/lisa/io/github/lisa-analyzer/lisa-project/ver-SNAPSHOT/maven-metadata.xml'. Received status code 401 from server: Unauthorized

Then you have to perform the following:

  • Create a GitHub PAT following this guide and grant read:packages permission
  • Create a gradle.properties file in the project root folder (where the gradlew scripts are located) with the following content:
gpr.user=your-github-username
gpr.key=github-access-token

Then, re-execute the build to have the snapshot dependencies downloaded.