gradlew complie has no lib.jarHow to run build.gradle with Sikuli integrated into the project?IntelliJ Spring Gradle Project Annotations Not WorkingError building project while excluding transitive dependency in build.gradle fileHow to create a library from a Spring Boot project using GradleGradle & SpringBoot - Error cant resolvedERROR: Your buildpacks do not contain the heroku/jvm buildpack!Add heroku/jvm to your buildpackError after adding spring-data-jpa into gradle file?Using Gradle 5.1 “implementation platform” instead of Spring Dependency Management PluginGradle have both mavenlocal and mavenCentralCan`t build gradle project with org.springframework.boot 1.5.19.RELEASE

How Hebrew Vowels Work

A conjecture concerning symmetric convex sets

Need help understanding the double sharp turn in Chopin's prelude in e minor

What is the highest power supply a Raspberry pi 3 B can handle without getting damaged?

How can I restore a master database from its bak file?

Does the Legion of Sentinels illusion spell work on Oozes?

How much steel armor can you wear and still be able to swim?

What does this Swiss black on yellow rectangular traffic sign with a symbol looking like a dart mean?

Make symbols atomic, without losing their type

How to compute the inverse of an operation in Q#?

What is the maximum that Player 1 can win?

How can a warlock learn from a spellbook?

What mathematical theory is required for high frequency trading?

I found a password with hashcat but it doesn't work

Can the pre-order traversal of two different trees be the same even though they are different?

Why are there no file insertion syscalls

Definition of 'vrit'

How is linear momentum conserved in circular motion?

How "fast" do astronomical events occur?

Is there any possible way to get these hearts as Adult Link?

How to modify a string without altering its text properties

Is using legacy mode instead of UEFI mode a bad thing to do?

Is Newton's third law really correct?

S&P 500 Index Value



gradlew complie has no lib.jar


How to run build.gradle with Sikuli integrated into the project?IntelliJ Spring Gradle Project Annotations Not WorkingError building project while excluding transitive dependency in build.gradle fileHow to create a library from a Spring Boot project using GradleGradle & SpringBoot - Error cant resolvedERROR: Your buildpacks do not contain the heroku/jvm buildpack!Add heroku/jvm to your buildpackError after adding spring-data-jpa into gradle file?Using Gradle 5.1 “implementation platform” instead of Spring Dependency Management PluginGradle have both mavenlocal and mavenCentralCan`t build gradle project with org.springframework.boot 1.5.19.RELEASE






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I am using gradle(Gradle 4.7) to compile a project(Java 1.8) has multimodule:



./gradlew -p web -x test build


and one of it has no dist jar,the others has,what's the problem?the normal dir structure of compile output:



--build
----classes
----libs
----tmp


and the abnormal dir structure:



--build
----classes
----tmp


This is the build.gradle(abnormal module):



project(":monitor-business") 

description = "business"

dependencies
api project(':data')
api project(':common')
implementation('org.springframework.boot:spring-boot-starter-web')




PS: all module does not generate libs folder,the libs is cache.Why the module does not generate dis jar file,How to configure my gradle project.This is the full config of my project:



group 'dolphin'
version '1.0-SNAPSHOT'


buildscript
ext
springBootVersion = '2.1.3.RELEASE'
springVersion = '4.3.7.RELEASE'
springfoxVersion = '2.6.1'
jacksonVersion = '2.8.7'
lombokVersion = '1.16.14'

ext['tomcat.version'] = '9.0.16'

repositories
mavenCentral()
jcenter
url 'http://jcenter.bintray.com'



dependencies
classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")




def getVersionCode()
def versionFile = file("$rootDir/version.properties")
if (!versionFile.canRead())
throw new GradleException("Could not find version.properties!")

def versionProps = new Properties()
versionProps.load(new FileInputStream(versionFile))
def versionCode = versionProps['VERSION'].toString()
return versionCode


repositories
mavenCentral()


allprojects
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'

repositories
mavenCentral()



task wrapper(type: Wrapper)
description = 'Generates gradlew[.bat] scripts'
gradleVersion = '4.7'



project(":common")
description = ''

dependencies
api("org.springframework:spring-context:" + springVersion)
api("commons-codec:commons-codec:1.10")
api("org.apache.tomcat:tomcat-juli:" + property('tomcat.version'))
api 'org.springframework.boot:spring-boot-starter-web'
api group: 'io.swagger', name: 'swagger-annotations', version: '1.5.20'
api("org.projectlombok:lombok:$lombokVersion")
api group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
api group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '1.3.0'
api group: 'org.mybatis', name: 'mybatis', version: '3.4.4'
api group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'



project(":composite")

description = 'dolphin-composite'

dependencies
implementation project(":monitor-business")
api project(":data")
implementation("org.springframework:spring-context:" + springVersion)




project(":web")
description = "web"
archivesBaseName = "dolphin-web-" + getVersionCode()

jar
// Will include every single one of your dependencies, project or not
from
configurations.runtimeClasspath.collect it.isDirectory() ? it : zipTree(it)



dependencies
api project(':monitor-business')
api project(':api')
api project(':common')
api project(':data')
api project(':composite')
implementation("com.zaxxer:HikariCP:2.6.0")
api("org.mybatis:mybatis-spring:1.3.0")
implementation("mysql:mysql-connector-java:5.1.24")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter")
implementation("io.springfox:springfox-swagger2:2.9.2")
implementation("io.springfox:springfox-swagger-ui:2.9.2")
implementation group: 'org.apache.tomcat', name: 'tomcat-juli', version: property('tomcat.version')
implementation("org.projectlombok:lombok:1.16.14")
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.24'
implementation group: 'org.mybatis', name: 'mybatis', version: '3.4.2'
implementation group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'
testCompile group: 'junit', name: 'junit', version: '4.12'



project(":monitor-business")

description = "business"

dependencies
api project(':data')
api project(':common')
implementation('org.springframework.boot:spring-boot-starter-web')



project(":data")

description = "data"

dependencies
api project(':common')
api("org.projectlombok:lombok:$lombokVersion")
implementation("com.zaxxer:HikariCP:2.6.0")
implementation group: 'org.postgresql', name: 'postgresql', version: '42.1.4'
api("org.hibernate:hibernate-validator:5.2.4.Final")
api("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1")
api("org.apache.commons:commons-lang3:3.5")
api group: 'org.springframework', name: 'spring-jdbc', version: '5.1.5.RELEASE'
api group: 'org.slf4j', name: 'slf4j-api', version: '1.7.24'
api group: 'org.mybatis', name: 'mybatis', version: '3.4.2'
api group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'
testCompile group: 'junit', name: 'junit', version: '4.11'
api("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonVersion")





PS:My problem is like this memo: https://discuss.gradle.org/t/gradle-4-x-jar-is-not-generated/24773



I have solved it but don't know why....










share|improve this question






























    1















    I am using gradle(Gradle 4.7) to compile a project(Java 1.8) has multimodule:



    ./gradlew -p web -x test build


    and one of it has no dist jar,the others has,what's the problem?the normal dir structure of compile output:



    --build
    ----classes
    ----libs
    ----tmp


    and the abnormal dir structure:



    --build
    ----classes
    ----tmp


    This is the build.gradle(abnormal module):



    project(":monitor-business") 

    description = "business"

    dependencies
    api project(':data')
    api project(':common')
    implementation('org.springframework.boot:spring-boot-starter-web')




    PS: all module does not generate libs folder,the libs is cache.Why the module does not generate dis jar file,How to configure my gradle project.This is the full config of my project:



    group 'dolphin'
    version '1.0-SNAPSHOT'


    buildscript
    ext
    springBootVersion = '2.1.3.RELEASE'
    springVersion = '4.3.7.RELEASE'
    springfoxVersion = '2.6.1'
    jacksonVersion = '2.8.7'
    lombokVersion = '1.16.14'

    ext['tomcat.version'] = '9.0.16'

    repositories
    mavenCentral()
    jcenter
    url 'http://jcenter.bintray.com'



    dependencies
    classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")




    def getVersionCode()
    def versionFile = file("$rootDir/version.properties")
    if (!versionFile.canRead())
    throw new GradleException("Could not find version.properties!")

    def versionProps = new Properties()
    versionProps.load(new FileInputStream(versionFile))
    def versionCode = versionProps['VERSION'].toString()
    return versionCode


    repositories
    mavenCentral()


    allprojects
    apply plugin: 'java'
    apply plugin: 'java-library'
    apply plugin: 'org.springframework.boot'
    apply plugin: 'io.spring.dependency-management'

    repositories
    mavenCentral()



    task wrapper(type: Wrapper)
    description = 'Generates gradlew[.bat] scripts'
    gradleVersion = '4.7'



    project(":common")
    description = ''

    dependencies
    api("org.springframework:spring-context:" + springVersion)
    api("commons-codec:commons-codec:1.10")
    api("org.apache.tomcat:tomcat-juli:" + property('tomcat.version'))
    api 'org.springframework.boot:spring-boot-starter-web'
    api group: 'io.swagger', name: 'swagger-annotations', version: '1.5.20'
    api("org.projectlombok:lombok:$lombokVersion")
    api group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
    api group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '1.3.0'
    api group: 'org.mybatis', name: 'mybatis', version: '3.4.4'
    api group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'



    project(":composite")

    description = 'dolphin-composite'

    dependencies
    implementation project(":monitor-business")
    api project(":data")
    implementation("org.springframework:spring-context:" + springVersion)




    project(":web")
    description = "web"
    archivesBaseName = "dolphin-web-" + getVersionCode()

    jar
    // Will include every single one of your dependencies, project or not
    from
    configurations.runtimeClasspath.collect it.isDirectory() ? it : zipTree(it)



    dependencies
    api project(':monitor-business')
    api project(':api')
    api project(':common')
    api project(':data')
    api project(':composite')
    implementation("com.zaxxer:HikariCP:2.6.0")
    api("org.mybatis:mybatis-spring:1.3.0")
    implementation("mysql:mysql-connector-java:5.1.24")
    implementation("org.springframework.boot:spring-boot-starter-web")
    implementation("org.springframework.boot:spring-boot-starter")
    implementation("io.springfox:springfox-swagger2:2.9.2")
    implementation("io.springfox:springfox-swagger-ui:2.9.2")
    implementation group: 'org.apache.tomcat', name: 'tomcat-juli', version: property('tomcat.version')
    implementation("org.projectlombok:lombok:1.16.14")
    implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
    implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.24'
    implementation group: 'org.mybatis', name: 'mybatis', version: '3.4.2'
    implementation group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'
    testCompile group: 'junit', name: 'junit', version: '4.12'



    project(":monitor-business")

    description = "business"

    dependencies
    api project(':data')
    api project(':common')
    implementation('org.springframework.boot:spring-boot-starter-web')



    project(":data")

    description = "data"

    dependencies
    api project(':common')
    api("org.projectlombok:lombok:$lombokVersion")
    implementation("com.zaxxer:HikariCP:2.6.0")
    implementation group: 'org.postgresql', name: 'postgresql', version: '42.1.4'
    api("org.hibernate:hibernate-validator:5.2.4.Final")
    api("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1")
    api("org.apache.commons:commons-lang3:3.5")
    api group: 'org.springframework', name: 'spring-jdbc', version: '5.1.5.RELEASE'
    api group: 'org.slf4j', name: 'slf4j-api', version: '1.7.24'
    api group: 'org.mybatis', name: 'mybatis', version: '3.4.2'
    api group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'
    testCompile group: 'junit', name: 'junit', version: '4.11'
    api("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonVersion")





    PS:My problem is like this memo: https://discuss.gradle.org/t/gradle-4-x-jar-is-not-generated/24773



    I have solved it but don't know why....










    share|improve this question


























      1












      1








      1








      I am using gradle(Gradle 4.7) to compile a project(Java 1.8) has multimodule:



      ./gradlew -p web -x test build


      and one of it has no dist jar,the others has,what's the problem?the normal dir structure of compile output:



      --build
      ----classes
      ----libs
      ----tmp


      and the abnormal dir structure:



      --build
      ----classes
      ----tmp


      This is the build.gradle(abnormal module):



      project(":monitor-business") 

      description = "business"

      dependencies
      api project(':data')
      api project(':common')
      implementation('org.springframework.boot:spring-boot-starter-web')




      PS: all module does not generate libs folder,the libs is cache.Why the module does not generate dis jar file,How to configure my gradle project.This is the full config of my project:



      group 'dolphin'
      version '1.0-SNAPSHOT'


      buildscript
      ext
      springBootVersion = '2.1.3.RELEASE'
      springVersion = '4.3.7.RELEASE'
      springfoxVersion = '2.6.1'
      jacksonVersion = '2.8.7'
      lombokVersion = '1.16.14'

      ext['tomcat.version'] = '9.0.16'

      repositories
      mavenCentral()
      jcenter
      url 'http://jcenter.bintray.com'



      dependencies
      classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")




      def getVersionCode()
      def versionFile = file("$rootDir/version.properties")
      if (!versionFile.canRead())
      throw new GradleException("Could not find version.properties!")

      def versionProps = new Properties()
      versionProps.load(new FileInputStream(versionFile))
      def versionCode = versionProps['VERSION'].toString()
      return versionCode


      repositories
      mavenCentral()


      allprojects
      apply plugin: 'java'
      apply plugin: 'java-library'
      apply plugin: 'org.springframework.boot'
      apply plugin: 'io.spring.dependency-management'

      repositories
      mavenCentral()



      task wrapper(type: Wrapper)
      description = 'Generates gradlew[.bat] scripts'
      gradleVersion = '4.7'



      project(":common")
      description = ''

      dependencies
      api("org.springframework:spring-context:" + springVersion)
      api("commons-codec:commons-codec:1.10")
      api("org.apache.tomcat:tomcat-juli:" + property('tomcat.version'))
      api 'org.springframework.boot:spring-boot-starter-web'
      api group: 'io.swagger', name: 'swagger-annotations', version: '1.5.20'
      api("org.projectlombok:lombok:$lombokVersion")
      api group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
      api group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '1.3.0'
      api group: 'org.mybatis', name: 'mybatis', version: '3.4.4'
      api group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'



      project(":composite")

      description = 'dolphin-composite'

      dependencies
      implementation project(":monitor-business")
      api project(":data")
      implementation("org.springframework:spring-context:" + springVersion)




      project(":web")
      description = "web"
      archivesBaseName = "dolphin-web-" + getVersionCode()

      jar
      // Will include every single one of your dependencies, project or not
      from
      configurations.runtimeClasspath.collect it.isDirectory() ? it : zipTree(it)



      dependencies
      api project(':monitor-business')
      api project(':api')
      api project(':common')
      api project(':data')
      api project(':composite')
      implementation("com.zaxxer:HikariCP:2.6.0")
      api("org.mybatis:mybatis-spring:1.3.0")
      implementation("mysql:mysql-connector-java:5.1.24")
      implementation("org.springframework.boot:spring-boot-starter-web")
      implementation("org.springframework.boot:spring-boot-starter")
      implementation("io.springfox:springfox-swagger2:2.9.2")
      implementation("io.springfox:springfox-swagger-ui:2.9.2")
      implementation group: 'org.apache.tomcat', name: 'tomcat-juli', version: property('tomcat.version')
      implementation("org.projectlombok:lombok:1.16.14")
      implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
      implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.24'
      implementation group: 'org.mybatis', name: 'mybatis', version: '3.4.2'
      implementation group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'
      testCompile group: 'junit', name: 'junit', version: '4.12'



      project(":monitor-business")

      description = "business"

      dependencies
      api project(':data')
      api project(':common')
      implementation('org.springframework.boot:spring-boot-starter-web')



      project(":data")

      description = "data"

      dependencies
      api project(':common')
      api("org.projectlombok:lombok:$lombokVersion")
      implementation("com.zaxxer:HikariCP:2.6.0")
      implementation group: 'org.postgresql', name: 'postgresql', version: '42.1.4'
      api("org.hibernate:hibernate-validator:5.2.4.Final")
      api("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1")
      api("org.apache.commons:commons-lang3:3.5")
      api group: 'org.springframework', name: 'spring-jdbc', version: '5.1.5.RELEASE'
      api group: 'org.slf4j', name: 'slf4j-api', version: '1.7.24'
      api group: 'org.mybatis', name: 'mybatis', version: '3.4.2'
      api group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'
      testCompile group: 'junit', name: 'junit', version: '4.11'
      api("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonVersion")





      PS:My problem is like this memo: https://discuss.gradle.org/t/gradle-4-x-jar-is-not-generated/24773



      I have solved it but don't know why....










      share|improve this question
















      I am using gradle(Gradle 4.7) to compile a project(Java 1.8) has multimodule:



      ./gradlew -p web -x test build


      and one of it has no dist jar,the others has,what's the problem?the normal dir structure of compile output:



      --build
      ----classes
      ----libs
      ----tmp


      and the abnormal dir structure:



      --build
      ----classes
      ----tmp


      This is the build.gradle(abnormal module):



      project(":monitor-business") 

      description = "business"

      dependencies
      api project(':data')
      api project(':common')
      implementation('org.springframework.boot:spring-boot-starter-web')




      PS: all module does not generate libs folder,the libs is cache.Why the module does not generate dis jar file,How to configure my gradle project.This is the full config of my project:



      group 'dolphin'
      version '1.0-SNAPSHOT'


      buildscript
      ext
      springBootVersion = '2.1.3.RELEASE'
      springVersion = '4.3.7.RELEASE'
      springfoxVersion = '2.6.1'
      jacksonVersion = '2.8.7'
      lombokVersion = '1.16.14'

      ext['tomcat.version'] = '9.0.16'

      repositories
      mavenCentral()
      jcenter
      url 'http://jcenter.bintray.com'



      dependencies
      classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")




      def getVersionCode()
      def versionFile = file("$rootDir/version.properties")
      if (!versionFile.canRead())
      throw new GradleException("Could not find version.properties!")

      def versionProps = new Properties()
      versionProps.load(new FileInputStream(versionFile))
      def versionCode = versionProps['VERSION'].toString()
      return versionCode


      repositories
      mavenCentral()


      allprojects
      apply plugin: 'java'
      apply plugin: 'java-library'
      apply plugin: 'org.springframework.boot'
      apply plugin: 'io.spring.dependency-management'

      repositories
      mavenCentral()



      task wrapper(type: Wrapper)
      description = 'Generates gradlew[.bat] scripts'
      gradleVersion = '4.7'



      project(":common")
      description = ''

      dependencies
      api("org.springframework:spring-context:" + springVersion)
      api("commons-codec:commons-codec:1.10")
      api("org.apache.tomcat:tomcat-juli:" + property('tomcat.version'))
      api 'org.springframework.boot:spring-boot-starter-web'
      api group: 'io.swagger', name: 'swagger-annotations', version: '1.5.20'
      api("org.projectlombok:lombok:$lombokVersion")
      api group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
      api group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '1.3.0'
      api group: 'org.mybatis', name: 'mybatis', version: '3.4.4'
      api group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'



      project(":composite")

      description = 'dolphin-composite'

      dependencies
      implementation project(":monitor-business")
      api project(":data")
      implementation("org.springframework:spring-context:" + springVersion)




      project(":web")
      description = "web"
      archivesBaseName = "dolphin-web-" + getVersionCode()

      jar
      // Will include every single one of your dependencies, project or not
      from
      configurations.runtimeClasspath.collect it.isDirectory() ? it : zipTree(it)



      dependencies
      api project(':monitor-business')
      api project(':api')
      api project(':common')
      api project(':data')
      api project(':composite')
      implementation("com.zaxxer:HikariCP:2.6.0")
      api("org.mybatis:mybatis-spring:1.3.0")
      implementation("mysql:mysql-connector-java:5.1.24")
      implementation("org.springframework.boot:spring-boot-starter-web")
      implementation("org.springframework.boot:spring-boot-starter")
      implementation("io.springfox:springfox-swagger2:2.9.2")
      implementation("io.springfox:springfox-swagger-ui:2.9.2")
      implementation group: 'org.apache.tomcat', name: 'tomcat-juli', version: property('tomcat.version')
      implementation("org.projectlombok:lombok:1.16.14")
      implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
      implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.24'
      implementation group: 'org.mybatis', name: 'mybatis', version: '3.4.2'
      implementation group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'
      testCompile group: 'junit', name: 'junit', version: '4.12'



      project(":monitor-business")

      description = "business"

      dependencies
      api project(':data')
      api project(':common')
      implementation('org.springframework.boot:spring-boot-starter-web')



      project(":data")

      description = "data"

      dependencies
      api project(':common')
      api("org.projectlombok:lombok:$lombokVersion")
      implementation("com.zaxxer:HikariCP:2.6.0")
      implementation group: 'org.postgresql', name: 'postgresql', version: '42.1.4'
      api("org.hibernate:hibernate-validator:5.2.4.Final")
      api("org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1")
      api("org.apache.commons:commons-lang3:3.5")
      api group: 'org.springframework', name: 'spring-jdbc', version: '5.1.5.RELEASE'
      api group: 'org.slf4j', name: 'slf4j-api', version: '1.7.24'
      api group: 'org.mybatis', name: 'mybatis', version: '3.4.2'
      api group: 'org.mybatis', name: 'mybatis-typehandlers-jsr310', version: '1.0.2'
      testCompile group: 'junit', name: 'junit', version: '4.11'
      api("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonVersion")





      PS:My problem is like this memo: https://discuss.gradle.org/t/gradle-4-x-jar-is-not-generated/24773



      I have solved it but don't know why....







      gradle






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 25 at 9:45







      Dolphin

















      asked Mar 25 at 5:51









      DolphinDolphin

      1,198102754




      1,198102754






















          1 Answer
          1






          active

          oldest

          votes


















          0














          To solve the problem,using this command to build the project(It will generate the libs folder and jar file):



          ./gradlew -p web -x test -x jar build


          Gradle version:4.7.(Gradle 5.3 not work)






          share|improve this answer

























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55331907%2fgradlew-complie-has-no-lib-jar%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            To solve the problem,using this command to build the project(It will generate the libs folder and jar file):



            ./gradlew -p web -x test -x jar build


            Gradle version:4.7.(Gradle 5.3 not work)






            share|improve this answer





























              0














              To solve the problem,using this command to build the project(It will generate the libs folder and jar file):



              ./gradlew -p web -x test -x jar build


              Gradle version:4.7.(Gradle 5.3 not work)






              share|improve this answer



























                0












                0








                0







                To solve the problem,using this command to build the project(It will generate the libs folder and jar file):



                ./gradlew -p web -x test -x jar build


                Gradle version:4.7.(Gradle 5.3 not work)






                share|improve this answer















                To solve the problem,using this command to build the project(It will generate the libs folder and jar file):



                ./gradlew -p web -x test -x jar build


                Gradle version:4.7.(Gradle 5.3 not work)







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Mar 26 at 2:08

























                answered Mar 25 at 9:48









                DolphinDolphin

                1,198102754




                1,198102754





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55331907%2fgradlew-complie-has-no-lib-jar%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현