Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for jna (0.01 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/DifferentJnaVersionInPluginIntegrationSpec.groovy

    import org.gradle.test.preconditions.UnitTestPreconditions
    
    class DifferentJnaVersionInPluginIntegrationSpec extends AbstractIntegrationSpec {
        @Requires(UnitTestPreconditions.NotMacOsM1)
        def 'can build a plugin with a different jna version'() {
            given:
            buildScript """
                plugins {
                    id 'java'
                }
    
                ${mavenCentralRepository()}
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitJnaIntegrationTest.groovy

        @Requires(UnitTestPreconditions.Windows)
        def canRunTestsUsingJna() {
            given:
            file('src/test/java/OkTest.java') << """
                ${testFrameworkImports}
                import com.sun.jna.platform.win32.Shell32;
    
                public class OkTest {
                    @Test
                    public void ok() {
                        assert Shell32.INSTANCE != null;
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/runtimeshaded/ImplementationDependencyRelocator.java

                || !mustBeRelocated(resource);
        }
    
        private final List<String> mustRelocateList = Arrays.asList(
            // In order to use a newer version of jna the resources must not be available in the old location
            "com/sun/jna",
            "org/apache/groovy",
            // JGit properties work from their relocated locations and conflict if they are left in place.
            "org/eclipse/jgit");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jna/UnsupportedEnvironment.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.internal.nativeintegration.jna;
    
    import org.gradle.internal.nativeintegration.NativeIntegrationException;
    import org.gradle.internal.nativeintegration.NativeIntegrationUnavailableException;
    import org.gradle.internal.nativeintegration.ProcessEnvironment;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/AnsiConsoleUtil.java

                try {
                    return new WindowsAnsiPrintStream(new PrintStream(stream));
                } catch (Throwable ignore) {
                    // this happens when JNA is not in the path.. or
                    // this happens when the stdout is being redirected to a file.
                }
    
                // Use the ANSIOutputStream to strip out the ANSI escape sequences.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top