gradle

Wired Out of memory: Java heap space error with ffmpeg library

穿精又带淫゛_ 提交于 2021-01-29 05:11:01
问题 Well this is the error I get: Out of memory: Java heap space. Please assign more memory to Gradle in the project's gradle.properties file. For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB: <em>org.gradle.jvmargs=-Xmx1024m</em> and it is because of: implementation 'nl.bravobit:android-ffmpeg:1.1.7' when I remove that the error gets gone.Well the error is saying increase the heap size to 1024MB and I did increase it to 10GB it's not

Wired Out of memory: Java heap space error with ffmpeg library

拥有回忆 提交于 2021-01-29 05:08:52
问题 Well this is the error I get: Out of memory: Java heap space. Please assign more memory to Gradle in the project's gradle.properties file. For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB: <em>org.gradle.jvmargs=-Xmx1024m</em> and it is because of: implementation 'nl.bravobit:android-ffmpeg:1.1.7' when I remove that the error gets gone.Well the error is saying increase the heap size to 1024MB and I did increase it to 10GB it's not

Gradle - Syntax error using plugin method with closure as argument

邮差的信 提交于 2021-01-29 04:50:54
问题 Below are two tasks hello & printProperties in build.gradle : task('hello', { description("Hey student! Run this one :D") group("Our demo") doLast({println("Hello World!")}) } ) plugins({ id('java') }) ext({ springVersion = "3.1.0.RELEASE" emailNotification = "build@master.org" }) sourceSets.all({ ext.purpose = null }) sourceSets({ main({ purpose = "production" }) test({ purpose = "test" }) plugin({ purpose = "production" }) }) task('printProperties', { doLast({ println(springVersion) println

Use Nexus As Dependency Resolver using Gradle in Spring Boot Application

限于喜欢 提交于 2021-01-29 04:38:54
问题 I am developing application using spring boot, i am using gradle as build tool, i want to configure gradle to resolve their dependencies instead of maven central or jcenter go to my Local nexus server get all dependencies from their and build project. I did't found any configuration. 回答1: Add your nexus url in build.gradle. repositories { // mavenLocal() // mavenCentral() // jcenter() //maven { url 'http://10.9.0.31:8099/repository/maven-public/' } maven { url 'http://ip:port/repository/maven

Use Nexus As Dependency Resolver using Gradle in Spring Boot Application

拟墨画扇 提交于 2021-01-29 04:38:34
问题 I am developing application using spring boot, i am using gradle as build tool, i want to configure gradle to resolve their dependencies instead of maven central or jcenter go to my Local nexus server get all dependencies from their and build project. I did't found any configuration. 回答1: Add your nexus url in build.gradle. repositories { // mavenLocal() // mavenCentral() // jcenter() //maven { url 'http://10.9.0.31:8099/repository/maven-public/' } maven { url 'http://ip:port/repository/maven

Where can I find the document for `(*)` and `1.7.6 -> 1.7.7` in the output of `gradle dependencies`

天涯浪子 提交于 2021-01-29 04:20:57
问题 For a gradle project with simple build.gradle file: apply plugin: 'java' repositories.jcenter() dependencies { compile "org.springframework.boot:spring-boot-starter-web:1.1.5.RELEASE" compile 'org.slf4j:slf4j-api:1.7.1' } When I run gradle dependencies , it will show: :dependencies ------------------------------------------------------------ Root project ------------------------------------------------------------ archives - Configuration for archive artifacts. No dependencies compile -

Gradle fails trying to build class using PsiMethod in IntelliJ Plugin project

半腔热情 提交于 2021-01-29 03:22:08
问题 I have a Intellij plugin project that I can successfully build without using the PsiMethod class. I've generated this project using this intellij plugin guide As soon as I add in code using PsiMethod class (from the Intellij SDK code_samples directory) The intellisense cannot find any GOTO information for the class. I can then switch my project settings module from JAVA_1.8.0 to by adding it into the platform settings SDKs: This now adds intellisense, and gives me the ability to navigate to

Gradle java web app doesn't start on heroku

二次信任 提交于 2021-01-28 20:15:24
问题 When I deploy my app locally with heroku local It starts up, but when I'm pushing it to remote, heroku toolbelt doesn't show any error, but here is what I get from logs: 2016-05-15T16:00:13.504799+00:00 heroku[slug-compiler]: Slug compilation started 2016-05-15T16:00:13.504808+00:00 heroku[slug-compiler]: Slug compilation finished 2016-05-15T16:00:19.131289+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=damp-ocean-4271.herokuapp.com request_id

Cannot build a project due to play-services-base-17.1.0.aar transformation error

夙愿已清 提交于 2021-01-28 19:53:18
问题 So basically I haven't opened my Android Studio project for almost a year and this time was the time for it to be opened and built. After updating Android Studio and all of the project's plugins, I finally reach this error: Execution failed for task ':app:processDebugResources'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Failed to transform play-services-base-17.1.0.aar (com.google.android.gms:play-services-base:17.1.0) to match attributes {artifactType

How to pass JVM arguments and script argument using GroovyShell?

耗尽温柔 提交于 2021-01-28 19:12:08
问题 So I have a Groovy script: // TestScript.groovy println args Then in a Gradle task I have test { String profile = System.getenv("spring.profiles.active") jvmArgs '-Dspring.profiles.active=$profile" // THIS DOES NOT WORK! :( doLast { new GroovyShell().run(file('package.TestScript.groovy')) } } What I need to do is two things: a) Pass into TestScript.groovy program arguments so it will print out the args array b) Pass to JVM the Spring Boot profile i.e. spring.profiles.active=dev Any