Skip to content

dProtect Gradle plugin location unclear #8

Description

@v-p-b

I'm struggling with the loading of the dProtect plugin using Kotlin DSL:

plugins {
//...
id("re.obfuscator.dprotect") version "1.0.0"
//...
}

Based on debug output Gradle looks for the POM at the following non-existent location (I added the package repo in settings.gradle):

https://maven.pkg.github.com/open-obfuscator/dProtect/re/obfuscator/dprotect/re.obfuscator.dprotect.gradle.plugin/1.0.0/re.obfuscator.dprotect.gradle.plugin-1.0.0.pom

It would be really helpful if you could provide configurations in Kotlin DSL syntax too.

Edit: It seems the problem is not Kotlin DSL, but that the plugin is not published in the first place: I tried using Groovy, following the docs, with the same result. The solution is to include dprotect.jar from the distribution zip in the buildscript classpath. Some useful links for those having similar problems:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions