Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dProtect Gradle plugin location unclear #8

Open
v-p-b opened this issue Mar 29, 2023 · 0 comments
Open

dProtect Gradle plugin location unclear #8

v-p-b opened this issue Mar 29, 2023 · 0 comments

Comments

@v-p-b
Copy link

v-p-b commented Mar 29, 2023

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:

@v-p-b v-p-b changed the title Loading dProtect plugin using Kotlin DSL dProtect Gradle plugin location unclear Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant