How to deploy war file in weblogic using gradle?

I have the following config setup to deploy war file in Weblogic.

buildscript{
  configurations {
    weblogic
  }

  dependencies {
    weblogic project.file('./libs/wlfullclient.jar') // line 15
  }
}

      

But when I try to do the build script, I get the error:

FAILURE: Build failed with exception.

  • Where: Create file 'C: \ workspace \ somedir \ inetsys \ someproj \ build.gradle': 15

  • What went wrong: There was a problem evaluating the root project "someproj".

    Could not find weblogic () method for arguments [C: \ workspace \ somdir \ inetsys \ someproj \ libs \ wlfullclient.jar] at org.gradle.api.interna l.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated @ 1846d05.

Can you help?

+3


source to share





All Articles