Wolfizen icon

Gradle Shadow Plugin

Wolfizen | PRO | 06/15/16 04:18:51 PM UTC | 0 ⭐ | 13317 👁️ | Never ⏰ | []
Groovy |

1.38 KB

|

None

|

0 👍

/

0 👎

// Required code is commented with // REQ
// Better than some other solutions because dependencies don't need to be declared twice
// As in, "shadow 'my-dep:0.1'" also adds it to the compile dependencies list
 
plugins {
    id 'java'
    id 'idea'
    id 'com.github.johnrengelman.shadow' version '1.2.3' // REQ
}
 
group '...'
version '1.0-SNAPSHOT'
 
// Dependencies
 
repositories {
    mavenCentral()
    maven {
        name = 'sponge'
        url = 'http://repo.spongepowered.org/maven'
    }
}
 
dependencies {
    compile 'org.spongepowered:spongeapi:4.1.0-SNAPSHOT'
    shadow 'org.mongodb:mongodb-driver:3.2.2' // REQ (replace with your desired dependency)
    shadow 'org.jgrapht:jgrapht-core:0.9.1'
    shadow 'org.reflections:reflections:0.9.10'
    testCompile group: 'junit', name: 'junit', version: '4.11'
}
 
idea {
    module {
        downloadJavadoc = true
        downloadSources = true
    }
}
 
// Build
 
project.configurations.compile.extendsFrom(project.configurations.shadow) // REQ
 
// BEGIN REQ
shadowJar {
    classifier = 'dist' // (this will be appended to the jar filename. Ex: myProj-dist.jar)
    configurations = [project.configurations.shadow]
    dependencies {
        exclude(dependency('com.google.guava:guava')) // (replace with any child dependencies that you don't want)
    }
}
 
build.dependsOn(shadowJar)
// END REQ

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  • Sardotir icon
    03/29/26 09:51:49 PM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎