Giter Club home page Giter Club logo

maven-offline-gradle-plugin's Introduction

Hi there ๐Ÿ‘‹

I'm an Android developer from China.

Yubyf's GitHub stats

Top Langs

maven-offline-gradle-plugin's People

Contributors

yubyf avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

maven-offline-gradle-plugin's Issues

Zero dependencies are detected

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
    }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.