Index
All Classes and Interfaces|All Packages
A
- app.spellscroll - package app.spellscroll
- app.spellscroll.auth - package app.spellscroll.auth
- app.spellscroll.task - package app.spellscroll.task
- apply(Project) - Method in class app.spellscroll.SpellscrollGradlePlugin
-
Applies the plugin to the given
Project.
B
- buildUi() - Method in class app.spellscroll.task.SpellscrollBuildUiTask
-
Runs
npm installandnpm run buildin the UI module directory.
C
- clear() - Method in class app.spellscroll.auth.SpellscrollTokenStore
-
Removes the stored refresh token (e.g.
D
- download() - Method in class app.spellscroll.task.SpellscrollDownloadAssetsTask
G
- generate() - Method in class app.spellscroll.task.GenerateBuildConfigTask
-
Generates the
{PluginName}Constants.javasource file. - GenerateBuildConfigTask - Class in app.spellscroll.task
-
Gradle task that generates a Java constants class containing plugin metadata.
- GenerateBuildConfigTask() - Constructor for class app.spellscroll.task.GenerateBuildConfigTask
- getApiVersion() - Method in class app.spellscroll.SpellscrollGradleExtension
-
Required. Version of
spellscroll-apito compile against (e.g. - getApiVersion() - Method in class app.spellscroll.task.SpellscrollDownloadAssetsTask
-
Version of the Spellscroll API to download dev assets for.
- getBuildFile() - Method in class app.spellscroll.task.GenerateBuildConfigTask
-
The project's
build.gradlefile, declared as an input so the task reruns whenever the build script changes. - getBuildLibsDir() - Method in class app.spellscroll.task.SpellscrollDevTask
-
Absolute path to the Gradle
build/libsdirectory, passed to Spellscroll via--plugin-dir. - getBuildTask() - Method in class app.spellscroll.SpellscrollGradleExtension
-
Name of the build task that
spellscrollDevdepends on before launching. - getDevAssetsCacheDir() - Method in class app.spellscroll.task.SpellscrollDownloadAssetsTask
-
The resolved dev-assets cache directory for this OS and API version.
- getDevAssetsDir() - Method in class app.spellscroll.task.SpellscrollDevTask
-
Path to the downloaded dev-assets cache directory.
- getIgnoreDefaultPluginsDir() - Method in class app.spellscroll.SpellscrollGradleExtension
-
When
true, passes--ignore-default-plugins-dirto the Spellscroll process on launch, preventing Spellscroll from loading plugins from its default directory. - getIgnoreDefaultPluginsDir() - Method in class app.spellscroll.task.SpellscrollDevTask
-
When
true, appends--ignore-default-plugins-dirto the Spellscroll command, preventing it from loading plugins from its default directory. - getOutputDir() - Method in class app.spellscroll.task.GenerateBuildConfigTask
-
The directory into which the generated
.javafile is written. - getOutputDir() - Method in class app.spellscroll.task.SpellscrollBuildUiTask
-
The directory into which npm places its build output.
- getPluginId() - Method in class app.spellscroll.SpellscrollGradleExtension
-
Required. The plugin identifier (registered at Spellscroll.app under "Developer Tools") This identifier is always an all-lowercase alphanumeric only string.
- getPluginId() - Method in class app.spellscroll.task.GenerateBuildConfigTask
-
The plugin identifier (registered at Spellscroll.app under "Developer Tools") This identifier is always an all-lowercase alphanumeric only string.
- getPluginId() - Method in class app.spellscroll.task.SpellscrollDevTask
-
The plugin identifier passed to Spellscroll via
--dev-plugin. - getPluginName() - Method in class app.spellscroll.SpellscrollGradleExtension
-
Required. Human-readable plugin name (e.g.
- getPluginName() - Method in class app.spellscroll.task.GenerateBuildConfigTask
-
Human-readable plugin name (e.g.
- getPluginName() - Method in class app.spellscroll.task.SpellscrollInitUiTask
-
Human-readable plugin name used to derive the React component name and the npm package name in
package.json. - getPluginVersion() - Method in class app.spellscroll.SpellscrollGradleExtension
-
Plugin version string embedded in the generated constants class as
PLUGIN_VERSION. - getPluginVersion() - Method in class app.spellscroll.task.GenerateBuildConfigTask
-
Plugin version string (e.g.
- getProjectGroup() - Method in class app.spellscroll.task.GenerateBuildConfigTask
-
Gradle
project.groupvalue used to derive the package name of the generated class. - getUiModuleDir() - Method in class app.spellscroll.SpellscrollGradleExtension
-
Path to the UI module npm project directory.
- getUiModuleDir() - Method in class app.spellscroll.task.SpellscrollBuildUiTask
-
Path to the UI module npm project directory (i.e.
- getUiModuleDir() - Method in class app.spellscroll.task.SpellscrollInitUiTask
-
Path to the directory where the UI module will be scaffolded.
- getValidToken() - Method in class app.spellscroll.auth.SpellscrollOAuthClient
-
Returns a fresh access token by silently exchanging the stored refresh token.
- GOOGLE - Enum constant in enum class app.spellscroll.auth.SpellscrollOAuthClient.Provider
I
- initUi() - Method in class app.spellscroll.task.SpellscrollInitUiTask
-
Entry point: fetches the latest
@spellscroll/ui-sdkversion, then writes the three scaffold files intoSpellscrollInitUiTask.getUiModuleDir().
L
- launch() - Method in class app.spellscroll.task.SpellscrollDevTask
-
Resolves the Spellscroll executable from the dev-assets cache, builds the launch command, and starts the process.
- load() - Method in class app.spellscroll.auth.SpellscrollTokenStore
-
Returns the stored refresh token, or
nullif none is saved or the store is unavailable. - login() - Method in class app.spellscroll.auth.SpellscrollOAuthClient
-
Runs the interactive browser-based OAuth2 flow, presenting a provider selection page.
- login(SpellscrollOAuthClient.Provider) - Method in class app.spellscroll.auth.SpellscrollOAuthClient
-
Runs the interactive browser-based OAuth2 flow for
provider.
M
- MICROSOFT - Enum constant in enum class app.spellscroll.auth.SpellscrollOAuthClient.Provider
S
- save(String) - Method in class app.spellscroll.auth.SpellscrollTokenStore
-
Saves
refreshTokento the OS credential store. - SpellscrollBuildUiTask - Class in app.spellscroll.task
-
Gradle task that builds the Spellscroll UI module using npm.
- SpellscrollBuildUiTask() - Constructor for class app.spellscroll.task.SpellscrollBuildUiTask
- SpellscrollDevTask - Class in app.spellscroll.task
-
Gradle task that launches the Spellscroll application with the plugin loaded in dev mode.
- SpellscrollDevTask() - Constructor for class app.spellscroll.task.SpellscrollDevTask
- SpellscrollDownloadAssetsTask - Class in app.spellscroll.task
-
Downloads Spellscroll dev assets for the current OS and API version from
https://spellscroll.app/api/download-devand extracts them to~/.spellscroll/dev-cache/<version>/<os>/. - SpellscrollDownloadAssetsTask() - Constructor for class app.spellscroll.task.SpellscrollDownloadAssetsTask
- SpellscrollGradleExtension - Class in app.spellscroll
-
DSL extension that exposes the
spellscroll {}configuration block. - SpellscrollGradleExtension() - Constructor for class app.spellscroll.SpellscrollGradleExtension
- SpellscrollGradlePlugin - Class in app.spellscroll
-
Main entry point for the Spellscroll Gradle plugin (
app.spellscroll.dev). - SpellscrollGradlePlugin() - Constructor for class app.spellscroll.SpellscrollGradlePlugin
- SpellscrollInitUiTask - Class in app.spellscroll.task
-
Gradle task that scaffolds a new Spellscroll UI module at the configured directory.
- SpellscrollInitUiTask() - Constructor for class app.spellscroll.task.SpellscrollInitUiTask
- SpellscrollOAuthClient - Class in app.spellscroll.auth
-
Performs OAuth2 Authorization Code + PKCE authentication against Google or Microsoft, using a temporary localhost redirect server to capture the authorization code.
- SpellscrollOAuthClient(SpellscrollTokenStore) - Constructor for class app.spellscroll.auth.SpellscrollOAuthClient
- SpellscrollOAuthClient.Provider - Enum Class in app.spellscroll.auth
- SpellscrollTokenStore - Class in app.spellscroll.auth
-
Persists the OAuth2 refresh token in the OS native credential store (Windows Credential Manager, macOS Keychain, or libsecret on Linux) via
com.microsoft:credential-secure-storage. - SpellscrollTokenStore() - Constructor for class app.spellscroll.auth.SpellscrollTokenStore
V
- valueOf(String) - Static method in enum class app.spellscroll.auth.SpellscrollOAuthClient.Provider
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class app.spellscroll.auth.SpellscrollOAuthClient.Provider
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages