12 de julio de 2019 [Java, Kotlin, Programming, Tech]
Para crear un Jar “grueso” de su proyecto Java o Kotlin que contenga todas las dependencias en un archivo, puede utilizar el complemento Shadow Gradle.
Me resultó difícil encontrar documentación clara sobre cómo funciona usando Gradle DSL de Kotlin (con build.gradle.kts, no build.gradle), así que así es como lo hice:
$ cat build.gradle.kts import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar plugins { kotlin("jvm") version "1.3.41" id("com.github.johnrengelman.shadow") version "5.1.0" } repositories { mavenCentral() } dependencies { implementation(kotlin("stdlib")) } tasks.withType<ShadowJar>() { manifest { attributes["Main-Class"] = "HelloKt" } } $ cat src/main/kotlin/Hello.kt fun main() { println("Hello!") } $ gradle wrapper --gradle-version 5.5 BUILD SUCCESSFUL in 0s 1 actionable task: 1 executed $ ./gradlew shadowJar BUILD SUCCESSFUL in 1s 2 actionable tasks: 2 executed $ java -jar build/libs/hello-all.jar Hello!
PakarPBN
A Private Blog Network (PBN) is a collection of websites that are controlled by a single individual or organization and used primarily to build backlinks to a “money site” in order to influence its ranking in search engines such as Google. The core idea behind a PBN is based on the importance of backlinks in Google’s ranking algorithm. Since Google views backlinks as signals of authority and trust, some website owners attempt to artificially create these signals through a controlled network of sites.
In a typical PBN setup, the owner acquires expired or aged domains that already have existing authority, backlinks, and history. These domains are rebuilt with new content and hosted separately, often using different IP addresses, hosting providers, themes, and ownership details to make them appear unrelated. Within the content published on these sites, links are strategically placed that point to the main website the owner wants to rank higher. By doing this, the owner attempts to pass link equity (also known as “link juice”) from the PBN sites to the target website.
The purpose of a PBN is to give the impression that the target website is naturally earning links from multiple independent sources. If done effectively, this can temporarily improve keyword rankings, increase organic visibility, and drive more traffic from search results.