You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initializing the plugin ospackage with the following code is not working :
import com.netflix.gradle.plugins.rpm.Rpm
plugins {
id("nebula.ospackage") version "8.4.1"
}
ospackage {
version = "1.0.0"
release = "1"
os = LINUX
}
The following error during "gradle build" is displayed:
Script compilation error:
Line 12: os = LINUX
^ Unresolved reference: LINUX
Setting properties directly in the task has the same result:
tasks.withType {
version = "1.0.0"
release = "1"
packageName = "rest-server"
summary = "rpm for war deployment"
preInstall("scripts/rpm/preInstall.sh")
archStr = "X86_64"
//type = BINARY
os = LINUX
}
By the way there is the same problem with the property "type".
gradle -v
Gradle 6.7-rc-1
The text was updated successfully, but these errors were encountered:
deian-bit
changed the title
The OS cannot be set
The OS property cannot be set
Oct 2, 2020
Initializing the plugin ospackage with the following code is not working :
import com.netflix.gradle.plugins.rpm.Rpm
plugins {
id("nebula.ospackage") version "8.4.1"
}
ospackage {
version = "1.0.0"
release = "1"
os = LINUX
}
The following error during "gradle build" is displayed:
Script compilation error:
Line 12: os = LINUX
^ Unresolved reference: LINUX
Setting properties directly in the task has the same result:
tasks.withType {
}
By the way there is the same problem with the property "type".
gradle -v
Gradle 6.7-rc-1
The text was updated successfully, but these errors were encountered: