I'm an Android developer from China.
yubyf / maven-offline-gradle-plugin Goto Github PK
View Code? Open in Web Editor NEWFully fetch the dependencies of maven repositories to local.
License: Apache License 2.0
Fully fetch the dependencies of maven repositories to local.
License: Apache License 2.0
Could you please advice what I might be missing ? Here is the output that I get for my project (no subprojects)
> Configure project :
Apply maven-offline plugin to root project, sub projects -
apply maven-offline plugin for all subprojects since you are applying this plugin to the root project
-----------
Extracting effective repositories for project :XXX...
Effective repositories of project :XXX - https://repo.maven.apache.org/maven2/, https://oss.sonatype.org/content/repositories/snapshots/
> Task :fetchMavens
Extracting artifacts for project :XXX...
Found 0 dependencies in project :XXX
Finished fetching mavens for project :XXX
Downloaded dependencies: 0
Failed to download dependencies: 0
Not found dependencies: 0
I'm on Kotlin 1.7.22 and Gradle 7.4. Gradle script is like this
plugins {
kotlin("jvm") version "1.7.22"
application
idea
id("io.github.yubyf.maven-offline") version "1.0.3"
}
mavenOffline {
maven(
mavenCentral(),
"https://oss.sonatype.org/content/repositories/snapshots"
)
targetPath = "/home/XXX/.m2/repository/"
includeClasspath = false
}
idea {
module {
isDownloadJavadoc = true
isDownloadSources = true
}
}
dependencies {
implementation(kotlin("stdlib", Versions.kotlin))
implementation("io.netty:netty-buffer:${Versions.nettyBuffer}")
implementation("io.netty:netty-handler:${Versions.nettyBuffer}")
implementation("io.netty:netty-transport-native-epoll:${Versions.nettyBuffer}")
implementation("io.projectreactor:reactor-core:${Versions.reactor}") {
testImplementation(kotlin("test-junit5", Versions.kotlin))
}
repositories {
mavenCentral()
maven("https://oss.sonatype.org/content/repositories/snapshots")
}
configurations {
implementation {
resolutionStrategy.failOnVersionConflict()
}
}
tasks {
withType<Wrapper>().all {
gradleVersion = "7.4"
distributionType = Wrapper.DistributionType.BIN
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.